|
|
A similar technique
Those new to Mac OS X might not realize that the shell is not the only way to automate the computer. Try using AppleScript. For example, here's the script for moving all the JPEG images in an entire directory to another folder. The variables (this_folder and target_folder) contain refs to the cooresponding directories.
A similar technique
Does this applescript solution work recursively? The issue was that iPhoto stores its photos in many many subfolders. If everything were in the same folder one could simply drag and drop the whole folder. I'm sure this is possible in Applescript, but I found that the shell sped things up considerably. Just think about all the spinning color wheels you get when you try to select a lot of items in the finder and do something with them! All those Aqua tricks (transparnet dragging) really don't scale very well when you are doing operations on thousands of files. It would be interesting to compare the speed using Applescript and using the shell ... |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.32 seconds |
|