|Aug 7, 2013, 05:34 AM||#1|
Triggering folder action on dropbox folder?
I am trying to set up a Folder Action to act on any file added to a Dropbox folder on my laptop but the action is not triggered when Dropbox deposits a new file in that folder. If I move a file by hand into that folder, the Folder Action works!
(What I'm really trying to do is this: automatically re-encode videos downloaded to Dropbox's Camera Uploads folder on my laptop to 480p and copied to another local folder on my laptop. All of this is easy using Folder Actions but it will not trigger!!)
|Aug 7, 2013, 10:28 AM||#2|
You may need to try a different tactic like setting up a cron job with a script to monitor the folder, check for new files, and then do the conversion.
Alternatively, it may be easier just to set up a cron job or rsync to move the file from the dropbox folder to another staging folder, and then have the folder action trigger there, assuming that rsync or a cron job+move file combo triggers folder actions
|Aug 7, 2013, 03:39 PM||#4|
I don't know, honestly. I would hazard a guess that whatever process monitors a folder for folder actions is NOT the process that dropbox uses to write files. Or more specifically, folder actions are probably handled by the finder process (which is always running), but dropbox just writes to the folder directly using the underlying os filesystem hooks and so finder never gets notified.
It's possible that rsync or a cronjob copy wouldn't work either. You may need to write a full script to check for new files and then do the processing, and set that up on a cron job.
There is also a program called Hazel that is similar to folder actions that might work the way you want.
Food for thought....
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Putting OneDrive Folder in Dropbox folder or vice versa.||Traverse||Mac Applications and Mac App Store||8||Apr 30, 2014 04:33 PM|
|Sync Folder between macs (without Dropbox)||Uplift||Mac Basics and Help||1||Dec 9, 2013 04:22 AM|
|Dropbox folder not syncing in Finder||ddublu||OS X 10.8 Mountain Lion||2||Jul 3, 2013 08:42 AM|
|One Dropbox folder not showing up on iPad||annk||iPad Tips, Help and Troubleshooting||4||Feb 4, 2013 04:46 AM|
|Dropbox Folder in MBA without installing Dropbox...||RocketRed||MacBook Air||5||Jun 20, 2012 08:55 AM|
All times are GMT -5. The time now is 05:05 AM.