Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .