previously, i used noodlesoft's hazel to move files freshly downloaded to a different directory. additionally it was very useful in a workflow i described earlier. in the following sections you'll see how to setup folder actions aligned to the already mentioned workflow (take a moment to check it out--i'll wait here for you).
please open finder and navigate to (create any folder, which doesn't exist):
~/Library/Scripts/Folder Action Scripts
create a new script and paste this code (remembers to change your username):
property ignoreList : {"bts", "btsv"}
property destinationFolder : "Macintosh HD:Users:florian:Desktop"
on adding folder items to this_folder after receiving added_items
repeat with currentFile in added_items
try
tell application "Finder"
if name extension of currentFile is not in ignoreList then
move currentFile to destinationFolder
end if
end tell
end try
end repeat
end adding folder items to
it should look like this:
save the script to ~/Library/Scripts/Folder Action Scripts
and name it like move Recorder item to Desktop.scpt
.
back in finder navigate to the folder, receiving incoming files (path from my workflow: ~/Public/BTSync/recorder
), do a context click (right click) and navigate to Services - Folder Actions Setup
.
from the drop down menu, which automatically opens, choose move Recorder item to Desktop.scpt
.
done.