You can use the WinZip utility to create a zip file that will contain
the files that are listed in a text file. The text file must contain
the list of file names, one on each line, like this:
c:\some_directory\pictures\image_00023.jpeg
c:\some_directory\pictures\image_73821.jpeg
and so on. The filenames must be complete - they must include the
drive letter and full folder name.
A CSV file will contain the information in an Excel spreadsheet with
each line in the CSV representing one row in the sheet. Coloumns are
separated with commas. If your CSV contains only one coloumn, it
should not contain any commas at all, and be ready for use as a file
list fow WinZip. You can check this by viewing the CSV file in a text
editor such as Notepad. Make sure that the file names are complete
(if not, I could assist you with completing them). Close the file.
Then we are ready for creating the ZIP file. Close WinZip if it is
already open. Then select the "Run" option in Windows' "Start" menu.
Enter a command similar to this:
winzip -a -e0 c:\zipfilepath\selected.zip @c:\filelistpath\file_list.csv
Replace c:\zipfilepath\selected.zip with the desired name and path for
the new zip file, and replace c:\filelistpath\file_list.csv with the
complete file name of the CSV file. Do not omit the @ before the CSV
file name - this tells WinZip that the CSV file is a list of files
(and not a file that you want to compress).
This command will start WinZip, create a file called
c:\zipfilepath\selected.zip and add the files listed in
c:\filelistpath\file_list.csv to this file. The -e0 parameter tells
WinZip that it should not try to compress the files - jpeg images are
already compressed, and WinZip will just waste time if it tries to
squeeze these any further.
You should then have a zip file containing the files listed in the CSV
file. You can unzip this file to the directory where you wish to keep
the selected files.
I think this should solve your problem. If anything does not work as
expected, please request an answer clarification.
Search strategy:
I knew of this WinZip fucntion already, and looked it up on the WinZip
website at http://www.winzip.com/xcmdline.htm . |