LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Split Volumes not working for 7zip (https://www.linuxquestions.org/questions/linux-newbie-8/split-volumes-not-working-for-7zip-941447/)

laks 04-24-2012 04:47 AM

Split Volumes not working for 7zip
 
Hi,

I have installed 7zip in my linux server and compression using 7zip works fine for small directories.However, for huge directories(more than 2GB in size), output files generated are not getting extracted. When I download it and try to extract, an error "Cannot open file as archive". Below is the command I ran.

/usr/bin/7za a -t7z -mx=0 -v2g <destination file> <source file>.

Please let me know if any of you know how to fix this.

Regards,
Lakshmi

pan64 04-24-2012 06:39 AM

which os?

lithos 04-24-2012 07:22 AM

Hi,

try
Code:

7za a -v2048m -mx=0 <destination file> <source file>
which is a little different order of options (and omitting type 7z, which is default) and volume size defined in MB instead of GB like you did.

good luck


All times are GMT -5. The time now is 12:35 AM.