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

Como escuchar la rock and pop desde Ubuntu

Adopción de ap unifi cuando el comando set-inform no aparece en el ap por ssh - docker controller