Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- PKZIP 2.0 Reference Guide - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  -x<filename>      Exclude files
  -x@listfile.lst   Exclude a list of files

  Using -x allows you to specify files that you do NOT want used as part of
  a PKZIP operation.  Either a specific filename or a file pattern may be
  specified.  You may use -x multiple times on the same command line, and
  you may exclude a list of files.  The list file is structured and treated
  identically to all other List Files.

     pkzip testfile.zip *.txt -xpizza.txt

  This example would compress all the files with a "txt" extension that are
  in the current directory, but would NOT compress the file "pizza.txt"

     pkzip test2.zip *.* -x*.txt

  Here we take all of the files EXCEPT the files with a "txt" extension.

     pkzip test3.zip *.* -xcommand.com -xautoexec.* -xconfig.*

  In this last example all files are specified for extraction, one specific
  file is being excluded, and any files which match two file patterns are
  excluded.


See Also: -@

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson