Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to setup a Watch Folder?

I get some PSD files for cutout on daily basis. Client drops the files in a shared folder at different times and won't notify. I want setup the folder like as the client drops the file, Microsoft Outlook sends a notification email containing the file description. Here's one more problem: If client drops 10 files at a time, my automator sends 10 notification emails to us. In stead I want single notification.

Mac OS X (10.7)

Posted on May 31, 2013 2:25 AM

Reply
Question marked as Best reply

Posted on May 31, 2013 6:54 AM

Not entirely sure how far along you are on this. If you're just getting started, then Automator can do this. Here is an example, which references this discussion of folder actions.


If you already have automator running (as it appears), then your notification script would need to save some context around the notifications. (I don't know of a direct means to delay and to "batch" the default event triggers; the rules fire for each upload.)


Another option would be a cron or periodic or launchd job that goes looking for the contents of the folder periodically, and sends along notifications for all of what it has found new, and then relocates the files into another directory or such; out of the dropbox folder and into a staging directory. The example I have of this stuff is a periodic-based job that does a nightly dump of a MySQL database, which is probably not what you want.


The other approach would be to automate the whole workflow and tie it into your local web services, and have a part of the web site that allows the client to submit files and get them uploaded, and that then handles the uploads, staging of the files, naming of the files, and notifications.

1 reply
Question marked as Best reply

May 31, 2013 6:54 AM in response to mrindia

Not entirely sure how far along you are on this. If you're just getting started, then Automator can do this. Here is an example, which references this discussion of folder actions.


If you already have automator running (as it appears), then your notification script would need to save some context around the notifications. (I don't know of a direct means to delay and to "batch" the default event triggers; the rules fire for each upload.)


Another option would be a cron or periodic or launchd job that goes looking for the contents of the folder periodically, and sends along notifications for all of what it has found new, and then relocates the files into another directory or such; out of the dropbox folder and into a staging directory. The example I have of this stuff is a periodic-based job that does a nightly dump of a MySQL database, which is probably not what you want.


The other approach would be to automate the whole workflow and tie it into your local web services, and have a part of the web site that allows the client to submit files and get them uploaded, and that then handles the uploads, staging of the files, naming of the files, and notifications.

How to setup a Watch Folder?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.