Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i have 1 zip file in my FTP with 10GB

i must convert it into multiple zip files, for example 10 zip files with 1GB each.

how can i do this via SSH?

thx =)

share|improve this question

migrated from stackoverflow.com Nov 19 '12 at 20:07

This question came from our site for professional and enthusiast programmers.

    
windows, linux, unix or?? –  Emmanuel N Nov 19 '12 at 18:20
    
If you just want to split it, there is already split command. –  Billiska Nov 19 '12 at 18:23
    
it is linux... =) could you show me how to use it Billiska? –  Mauricio Soares Nov 19 '12 at 18:55
add comment

1 Answer 1

up vote 0 down vote accepted

You should look at the man page of zipsplit which is usually installed along with zip.

zipsplit -n size zipfile

in your case

zipsplit -n 1073741824 zipfile
share|improve this answer
    
thanks, that solved my problem. –  Mauricio Soares Nov 20 '12 at 19:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.