-@filename.lst Generate LIST file
Please note that this option is different from using a list file. When
PKZIP is reading a list file there is no dash in front of the @.
This option causes PKZIP to generate a LIST file out the specified file
name instead of performing a ZIP operation. The output file will be a
plain ASCII file with one file name per line, and will be identical to the
listing of the files PKZIP would have placed into a .ZIP file had the -@
option not been used.
If the -rp is specified the list file will include paths in addition to
the file names. If the pattern/filespec is on a different drive, the
drive letter will be included as well.
pkzip dummy.zip -@test.lst *.*
This would generate a list file called "test.lst". Note that the dummy
zipfile name is needed. The name of the .ZIP file specified does not
matter as it is not actually used.
pkzip dummy.zip -@test2.lst -rp d:\*.*
This would create a list file of the ENTIRE contents of the D drive. If
the current directory is not D:\ when this command is issued the drive
will be included with each filename in the list file.
This option can also be useful in conjunction with an existing .ZIP file.
For example, to generate a list of all files which have been modified
since they were placed in the .ZIP file "akiko.zip":
pkzip akiko.zip -f -@modified.lst *.*