Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

zip / tar multiple volumes 1

Status
Not open for further replies.

umeman

Technical User
Oct 2, 2001
59
0
0
US
Admins,

I am trying to compress a 10 GB file into 10 1 GB files
using zip or tar on a Solaris 8 machine, then I want to ftp these files and uncompress them onto another Solaris 8 machine.

If you have done something similar, please let me know how this can be done.

Thanks
Umeman
 
Compress? or split your file into ten files ?
 
I want to split the tar file into 10 smaller files
 
Try with the split command (see man page).

ex.
# split -b1000m file.tar

where 1000m is the size of the resulting files (1000 megabytes)

# ls
file.tar
xaa
xab
xac
xad
xae
xaf
xag
xah
xai
xaj

# compress x*
# ftp ............
 
# uncompress x*
# cat xaa xab xac xad xae ... ... .. .. > file.tar

N.b. if your file is 12Gb you need a lot of free space!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top