Wednesday 24 October 2012

Unzip expects -d /path/to/unzip/dir

Shell command "unzip" turned out to require paramether -d /path/to/unzip/dir.
Otherwise it will presume you want to unzip it in the current directory.

So the format should be:

unzip /my/zipfile.zip -d /path/to/unzip

I had tried

unzip /my/zipfile.zip  /path/to/unzip  and it did not work, so paramether -d was required.

No comments:

Post a Comment