Problems with zipping in terminal

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

  1. picodegallo macrumors newbie

    Nov 22, 2010
    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 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

    Jan 1, 2008
  3. picodegallo thread starter macrumors newbie

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

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

    man zip

Share This Page