Zip many Files separately
Zip many files in a directory separtely
i.e. files in directory: foo1.wmv foo2.wmv foo3.wmv <Comand I dont know goeshere> Final result: foo1.zip foo2.zip foo3.zip |
gzip foo{1,2,3}.wmv
makes .gz files |
Does it have to be zip? For example bzip2 will do it with:
Code:
bzip2 * Code:
bzip2 -d * |
Go into the directory with the files and try this:
Code:
for i in *; do zip `basename $i .wmv`.zip $i; done I'm not sure wmv's will compress too far though... |
:D
Quote:
Thanks a lot to all!:Pengy: :newbie: |
All times are GMT -5. The time now is 06:54 PM. |