Split and Join files Linux

First we need a compressed file,
tar -cvvzf file.tar.gz file.something
Now, we split the compressed file,
split -b 10M file.tar.gz "prefix_here"
(parts of 10 megas with the prefix "prefix_here")

To join the parts:
cat "prefix_here"* > file_joined.tar.gz 
And thats all! :)


Popular posts from this blog

Como configurar el control de directv para que funcione con el Tv

Show all values in Numpy array