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! :)

Comments

Popular posts from this blog

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

Las Tutucas y todo lo demás

Python Ipdb Cheatsheet