Split large file into smaller files – Linux

Here is a small trick to split a big iso file (or any other big file) into smaller files of your desired size.

Use the SPLIT tool that comes with your OS.

Suppose I have a big iso file name “bigfile.iso” of size more than 3 GB and I want to split in into smaller iso files of size 1GB.

Here is how to do it:

split --byte=1024m bigfile.iso smallfile_

what this command will do?

It will actually split the bigfile.iso file into smaller files of size 1GB having names – smallfile_aa, smallfile_ab and so on…

So just enjoy the split, now.

And remember you can always use the CAT command to join them again:

cat smallfile_a* > newbigfile.iso

PS : Check out the video of this post at –http://www.youtube.com/watch?v=7Gv1FuLUH1o


God Bless.

Advertisements