Cutting a file into several parts

January 26, 2011 by: Youzhny

Linux is full of utility tools allowing you to manipulate files. There is a very handy tool to split a file into several parts (for example to carry data on low capacity media).
The split command:

split -b 1440k my_big_file

The split command will create files named xaa, xab, Xac [etc], equal in size or less than 1440 KB
To recover the whole file simply use the cat command as follows:

cat xaa xab Xac> my_big_file

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
Have you found this script useful? Please support author by PayPal donation.
Filed under: Linux/Unix

Comments

3 Responses to “Cutting a file into several parts”
  1. What’s Taking place i’m new to this, I stumbled upon this I have discovered It positively useful and it has aided me out loads. I’m hoping to contribute & assist other users like its helped me. Good job.

  2. Great data! This has already been extremely helpful. Thank people for yanking it together.

  3. pomoc prawna says:

    Heutzutage kann niemand das Leben ohne Computer vorstellen. Was die Arbeit und die Studie wäre ohne sie aus?

Leave a Reply