Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I want to slice large files using Linux commands ( tar etc.) or GUI software in Linux. Could you assist me? Thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    159

    Smile Slicing Large Files in Linux


    Hi,

    I want to slice large files using Linux commands (tar etc.) or GUI software in Linux.

    Could you assist me?

    Thanks

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,221
    Have a look at split
    Code:
    man split
    To put the pieces together again, use e.g. cat and the shell append operator.
    You must always face the curtain with a bow.

  3. #3
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    159

    Thumbs up

    Quote Originally Posted by Irithori View Post
    Have a look at split
    Code:
    man split
    To put the pieces together again, use e.g. cat and the shell append operator.
    Many Thanks Irithori !!!

    I will try this

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,159
    Quote Originally Posted by amithad View Post
    Many Thanks Irithori !!!

    I will try this
    Drat! Iritthori beat me to it! That's what happens when one has to do actual work...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Sep 2007
    Posts
    19

    Cool Shameless

    Quote Originally Posted by Rubberman View Post
    Drat! Iritthori beat me to it! That's what happens when one has to do actual work...
    Doesn't matter I'll still reply. Use split command to split file.

  6. #6
    Linux Newbie amithad's Avatar
    Join Date
    Sep 2006
    Location
    Sri Lanka
    Posts
    159
    Hi All!
    Thanks for all of your help!

    For a person who wants to do file slicing in a hurry I will state the steps below

    To Slice files : the command is

    Code:
    split -b 4000000k <filename>
    this will split the file to 4GB slices

    To restore the file

    Code:
    cat xaa xab xac > myfilename
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •