|
|
Zip multiple files into individual archives via Automator
I use a workflow with the following script, which does the following:
for i in "$@" do if [ -d "$i" ] then d=`dirname "$i"` b=`basename "$i"` (cd "$d"; /usr/bin/tar -cvjf "$b".tar.bz2 "$b" && rm -rf "$b") else /usr/bin/bzip2 -v9 "$i" fi done
Zip multiple files into individual archives via Automator
I would love it if this action worked, it would be perfect as i agree, i would like the extra compression afforded by it, however it simply does not work. . . do you think you could go over exactly what i should do in the automator terminal? as in should it be "/bin/bash" and "asas arguments" ? also i copied your code exactly and pasted it in the script box, perhaps i was supposed to do something else as well? thanks.
Zip multiple files into individual archives via Automator
So many years have gone by and I still haven't found any better script to what our script does! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|