Problems with zipping in terminal

Discussion in 'macOS' started by picodegallo, Nov 22, 2010.

  1. picodegallo macrumors newbie

    Joined:
    Nov 22, 2010
    #1
    This is my first post. This is driving me batship insane. :cool:

    All I'm trying to do is create a password protected zip file. What I'm trying to zip is a directory that contains one file and six other directories. Each of those six directories contains a couple of files.

    For some reason when I go to the terminal and type zip -e desiredfilename.zip desireddirectorytozip, I get prompted twice for the password. Then it says compressing 0%.

    The resulting zip doesn't have any password protection on it and it's just an empty folder anyways. Am I missing a parameter? Is there an easier way? This is such a stupid problem to waste an hour on!
     
  2. Alrescha macrumors 68020

    Joined:
    Jan 1, 2008
    #2
    -r
     
  3. picodegallo thread starter macrumors newbie

    Joined:
    Nov 22, 2010
    #3
    That's probably the best 2 character response I've ever gotten. :)
     
  4. Hydramus macrumors member

    Joined:
    Jun 30, 2007
    #4
    Man pages are your friend, although admittedly, the man page for the zip command is a beast...

    Code:
    man zip
     

Share This Page