Compressing the files subject to size - Urgent help

Dear All,

I have hunderds of files. I just want to compress all the files which limits to 4GB. that is need compress the files and the zip file should not exceed the 4gb. Can please give me solution for that.

Thanks in advance.
Kishore

If you're using GNU tar you can use the -L option, and specify multiple files to archive to. You'll have to compress/uncompress them manually tho, since tar can't work with spanned compressed archives.

With InfoZIP you can use the -s option.

See the man pages in each case for more details.