DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The single 5GB file is assumed to be binary so compressing may not gain much. Lacking a double layer DVD you can use the split command to split the file into two parts, burn the dvds, copy to the destination and then use cat to put them back together.
Zip can make multiple parts too. I've decompressed them but never made a multifile zip file.
Let me look...
OK, it looks like you should zip the entire thing into one zip file then run zipsplit to break it up into multiple parts.
You can use the -n option with the maximum number of bytes per zip file.
One warning, my man page (dated 2008) says it can't handle files over 2 GB. Hopefully by now that has been changed, so get the latest version of the zip tools.
If that doesn't work, try bzip2....It might make it small enough for one disc, otherwise (like michaelK said) you can just split them manually and cat them back together on the target machine then unzip them.
lxsplit -h
LXSplit v0.2.4 by Richard Stellingwerff, O. Sezer.
Home page: http://lxsplit.sourceforge.net/
Usage: lxsplit [OPTION] [FILE] [SPLITSIZE]
Available options:
-j : join the files beginning with the given name
-s : split the given file. requires a valid size
Splitsize examples: 15M, 100m, 5000k, 30000000b
Examples:
lxsplit -s hugefile.bin 15M
lxsplit -j hugefile.bin.001
it is old but builds and works , also i come across a lot of 'file.001' , 'file.002', -to -- 'file.100' part files
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.