Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.7: Auto-copy Photo Stream images to a folder Corrected' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Auto-copy Photo Stream images to a folder Corrected
Authored by: zo219 on May 02, '12 07:12:44PM

Corrected script, saved as an app to Pictures Folder, works like a dream. Name the folder, which you must create first in PIctures, whatever you want. (OP lacked full path and correct name, assets:sub, and name contains "jpg"
And input, of course, the name of your HD>

tell application "Finder"
set this_folder to "name HD:Users:name:Library:Application Support:iLifeAssetManagement:assets:sub" as alias
set target_folder to "name HD:Users:name:Pictures:Photostream" as alias
try
duplicate (every file of the entire contents of this_folder whose name contains "jpg") to the target_folder with replacing
end try
end tell



[ Reply to This | # ]
10.7: Auto-copy Photo Stream images to a folder Corrected
Authored by: teslabolt on Oct 24, '12 09:10:20PM

Stupid question, where do I find the "name of my HD"?

"And input, of course, the name of your HD"



[ Reply to This | # ]
10.7: Auto-copy Photo Stream images to a folder Corrected
Authored by: mishamazor on Oct 31, '12 03:21:45AM

This works great, but is VERY slow. I assigned it to a folder action, so it runs automatically when photos are added to the "sub" folder, but it takes over Finder completely for a few minutes while running. Any suggestions??

Thanks,
Misha



[ Reply to This | # ]