Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Zip multiple directories

Status
Not open for further replies.

beye1850

IS-IT--Management
Jun 3, 2002
28
US
Hi all,

I want to zip a whole bunch of directories into its own zip file. Presently I have to use

zip -r -m <filename> <directory name>

example
zip -r -m foo.zip foo/

on ever single directory. as you can imagine it gets kinda boring. Is there a zip switch or command that will automatically zip each directory into its own zip file?

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top