Backup zip and split script for OS X

Chris O'Connell omegahalo-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun Dec 20 19:37:32 EST 2009


Hi Everyone!

I'm trying to write a script file that will copy all of the important stuff
in my home directory (Users on OSX), compress it and automatically split it
into files about 8.5GB so I can then burn the files onto DVDs.

I wrote this:
zip -rs 8000m /Volumes/Seagate1TB/backup-`date +%Y-%m-%d`.zip Desktop
Documents Downloads Music Movies Pictures
zipsplit -t -n 800000 /Volumes/Seagate1TB/backup-`date +%Y-%m-%d`.zip

the -rs 8000m is seemingly ignored.

But I have read a variety of information in the man pages that says there is
a file split limitation of 2gb.  Can anyone offer any alternate
suggestions?

Chris





More information about the Discuss mailing list