Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Force Folder Actions to notice changed files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Force Folder Actions to notice changed files
Authored by: TonyT on Mar 30, '10 10:17:32AM

launchd can do what you want.
Just have it watch if the file is changed and then run a script ("WatchPaths"). If you need it to also act on any new files added, have it 'watch' the directory (a directory is, after all, a file and it's date will be modified if a file is added to it).

Don't try to act if a file is added to the directory ("QueueDirectories"), as this has the same limitation as Folder Actions (i.e. the folder has to be cleared after the the script is run)

One of my favorite apps, Lingon, makes writing the launchd playlist easy.

Edited on Mar 30, '10 10:32:49AM by TonyT



[ Reply to This | # ]