Large Files ? Split them up….

Dealing with large files on servers in which you have upload limits etc is always painful. Linux lets us split the files quickly with its split command as follows :

split --bytes=512m original_file.zip file_chunk_

That command will split original_file.zip into files that are 512 MB in size and name the various parts file_chunk_aa, file_chunk_ab, etc. If you want to the file to be split in bytes you can specify b, k can be used for Kilobytes and m for Megabytes.

Its also easy to join these files back in one piece

To join the files back together on Linux issue the following command:

cat file_chunk_* > complete_file.zip

You can even join these files on windows by using the copy command as follows :

copy /b small_file_* joined_file.tar

Also check the following posts

  • No Related Post\'s Found

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.