Splitting and catting a tar file into 2 Gb chunks

Post migrated from my old site:

If you for some weird reason (which I have) would like to back large files up to a FAT32 volume and need maximum 2 Gb files, or for some other reason would like to chop up your backup file into chunks, use the following command:

tar -cvaf - *|split -b 2000m - volume.tar

To unpack use:

cat volume.tar* | tar xv

And wait a long time…

Posted on July 12, 2013, in Linux, Technology, Tips and tricks, Tooling. Bookmark the permalink. Leave a comment.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: