Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How To Zip Large Amount of Files Into Multiple 'zip' Files?

Discussion in 'General Discussion' started by Doug E, May 7, 2010.

  1. Doug E

    Doug E Well-Known Member

    Joined:
    Aug 17, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    156
    This isn't a cpanel question but comes from my not being able to solve some problems im having with cpanel.

    I have a large directory on my server of small image files I want to move to another server, theres something like over a hundred thousand images in it and it would take too long to ftp it as is. What command could I use in SSH to zip this directory so that rather than one very large zip file it creates zips of say 1-5mb of all?

    So say 100,000 images divided into 1000 zip files of 100 images?.. for example. Sort of like rar files.
     
  2. serlex

    serlex Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    56
    You could use rsync

     
  3. Doug E

    Doug E Well-Known Member

    Joined:
    Aug 17, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    156
    Cool, thanks! Im reading up on rsync now.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice