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

198X

macrumors newbie
Original poster
Oct 18, 2015
10
3
West Yorks
Anyone know of an AppleScript to move a set of files into A-Z folders based upon the name of the file?
Cheers.
 

198X

macrumors newbie
Original poster
Oct 18, 2015
10
3
West Yorks
Hmm - looks like I found what I need;
tell application "Finder"

repeat with this_number from 65 to 90

set this_letter to ASCII character this_number

set new_folder to make folder at window 1 with properties {name:this_letter}

move (every file of target of window 1 whose name begins with this_letter) to new_folder

end repeat

end
tell
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.