Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

K-Shaps

macrumors newbie
Original poster
Just like the title says.

For example let's say I have 50 files that need zipping. I want each one to be zipped, but not grouped into one giant zip with the others. Can anyone help me! Thanks.
 
This should be easily accomplished on the command line with something along the lines of

Code:
for i in <list of files to zip>; do zip $i $i; done

You can also use the * character to reduce typing out the list of files.

Code:
for i in *.txt; do zip $i $i; done
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.