Linux: split file into pieces and join pieces again

#split then file into pieces: $> split --bytes=10M /path/to/bigfile.ext /path/to/image/prefixForPieces #then put'em together againa when necessary $> cat prefixForPieces* > bigfile.ext
Some times is very useful to split a big file into small pieces for transferring over internet (specially if connection is not stable), and then join these pieces again to rebuild original file. I got this is a very simple task using these Linux commands.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.