Using split to break up large file into smaller pieces

You can pipe output of tar to split command to make smaller chunks that are easier to transfer.

tar czv /pathtofiles | split -b 1000M -d – “test.tar.gz.”

Then to untarr you can use this command:

cat test.tar.gz.* | tar tzvf –

This entry was posted in Uncategorized. Bookmark the permalink.