zip -j command, what does the -j option mean?

Posted by Simon Guo on Stack Overflow See other posts from Stack Overflow or by Simon Guo
Published on 2010-05-17T18:52:06Z Indexed on 2010/05/17 19:00 UTC
Read the original article Hit count: 261

Filed under:
|

Wondering what is the -j option mean in the zip command. I found the explanation as following:

-j
Store just the name of a saved file (junk the path), and do not store directory names. By default, zip will store the full path (relative to the current path).

But not quite sure what it is exact mean? Can anyone explain it using the following command as an example?

C:\programs\zip -j myzipfile file1 file2 file3

Thank you.

© Stack Overflow or respective owner

Related posts about command-line

Related posts about zip