Thursday, April 19, 2007

Splitting Large Files to Span Multiple Disks using TAR

Splitting Large Files to Span Multiple Disks using TAR

Splitting the File
tar -c -M --tape-length=102400 --file=disk1.tar largefile.tgz


Putting the File Back Together
tar -x -M --file=disk1.tar largefile.tgz
Prepare volume #2 for disk1.tar and hit return: n disk2.tar
Prepare volume #2 for disk2.tar and hit return:



Download a Win32 version of TAR and GZIP
You can download a Windows compatible copy of these command line tools from our server.
Tar-Gzip.zip
Additional References
Additional reading material :
Tar online manual
Tar online manual : Archives Longer than One Tape or Disk
Backing up data on a Windows machine using TAR and GZIP