Quantcast
Channel: resource log
Viewing all articles
Browse latest Browse all 31

Create Tar Spanning in multiple files

$
0
0

Quick way to create tar multiple file from the terminal 

tar czpvf - /archive | split -d -b 100M - disk

This will archive the folder name /archive and split it into 100MB with each naming disk00, disk01 and etc…

Afterwards to joint them back you need to use this command

cat disk* | tar xzpvf -


Viewing all articles
Browse latest Browse all 31

Trending Articles