The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 03-08-2009
jennyenve jennyenve is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 1
zip individual files

how to zip individual files (.txt) into its own zip file.
is it something like

directory name 'test'

for file in test/* do zip $file.zip $file.txt?
it's not working. please help.