ios - Using Apple Script to move multiple files from multiple folders to one -
found forum while googling question, can't find answer for. i'm not programmer, i'm trying find out how can use applescript move multiple files 1 folder. have folder containing 900 images , corresponding text files which, after downloading, each contained within individual folder inside first folder (so 1 image file , 1 text file per folder x 900.) want these individual files out of individual folders , have 900 image files plus 900 corresponding text files in 1 single folder, can @ of images @ once. correct script doing this? tried:
tell application "finder" move (every file of every folder of window 1) (get target of window 1) end tell
that's on forum suggested, i'm getting error signs. let's original folder containing images called "single images" , folder want move them called "single images 2." both folders on desktop. right command this? or there application can more if apple script editor isn't right one?
any appreciated, save me hours of dragging , dropping if can find right command.
thanks!
as long of image , text files have unique names, work:
tell application "finder" set sourcefolder choose folder prompt "select source folder:" set destfolder choose folder prompt "select destination folder:" move every file of (sourcefolder's entire contents) destfolder end tell
Comments
Post a Comment