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

ludwip

macrumors newbie
Original poster
Dec 1, 2012
1
0
Hi Everyone,
I have very specific question.
I've got 500,000 images that sit in 98 subfolders. Some of the subfolders contain 25,000 images.
Now my question: is there any script/automator workflow that I can use?
I was trying to create a workflow:
1. Ask for Finder Items
2. Get Folder Contents (tick repeat for each subfolder found)
3. Rotate images
It works OK, but only for these folders where there is less than 4,096 files:
I normally receive following error message:
'Rotate images failed - 1 error
too many arguments (12019) -- limit is 4096'
Is there any way to increase this limit or create completely different apple script?
By the way I'm running OS Mountain Lion
I really hope that someone will help me with this one.
 

subsonix

macrumors 68040
Feb 2, 2008
3,551
79
'Rotate images failed - 1 error
too many arguments (12019) -- limit is 4096'
Is there any way to increase this limit or create completely different apple script?

Probably. Post the code you have, it sounds like you are adding all files as arguments, you can instead do something like: for all files in folder, apply rotate image.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.