The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-10-2007
Jolly Jolly is offline
Registered User
  
 

Join Date: May 2007
Posts: 8
space in sed was my copy paste mistake.

I am also doinf echo before zipping and i am getting :
'First month of RIA 001.jpg' 'First month of RIA 002.jpg' 'First month of RIA 003.jpg' 'First month of RIA 004.jpg'

Every file is surrounded by quotes and should be picked up correctly while zipping but not getting picked.

Can someone help mw with why zip command is not picking up the files peoperly.

I tried this maually

zip <ZIPFILENAME> 'First month of RIA 001.jpg' 'First month of RIA 002.jpg' 'First month of RIA 003.jpg' 'First month of RIA 004.jpg'

above commna dworked properly and created <ZIPFILENAME>.zip

Help HelpHelp!!!!!!!!