on open thefiles tell application "Finder" repeat with thisfile in thefiles set thisfile to thisfile as alias if name extension of thisfile is "pdf" then move thisfile to POSIX file "/path/to/folder1" else if name extension of thisfile is "avi" then move thisfile to POSIX file "/path/to/folder2" end if end repeat end tell end open
Save it as a script somewhere (~/Library/Scripts is a good place), then select it in the first pane, choose Open File... in the second pane, and then use the comma trick to select all the files you want to process in the third pane. On Feb 17, 5:58 pm, Sebastian Szwarc <[email protected]> wrote: > Any example? > Or maybe BASH script?
