This script is supposed to delete files out of my downloads stack but it doesnt do ANYTHING. no errors, no result, no nothing...
FYI "The Mothership" is my internal HDD and "Jackman" is my home folder.
FYI "The Mothership" is my internal HDD and "Jackman" is my home folder.
Code:
tell application "Finder"
try
delete (every item of folder "Downloads" of folder "Jackman" of disk "The Mothership" whose modification date is less than ((get current date) - 1 * days))
end try
end tell