Watch folder and copy files

File / Folder Watcher monitors for changes in files or folders and activates an associated automation Task, when such changes are detected. Let us see an example of how to watch folder for changes in its files to automatically copy modified files to another folder.

First, let us configure File / Folder Watcher to watch folder C:\My Documents\ and monitor files.

Create a Task by choosing New Task option in the File menu of Automation Workshop Manager. This will open Task Wizard, a step-by-step guide in creating automation Tasks.

Go to the Triggers tab and add File / Folder Watcher Trigger to the Task and specify to watch folder C:\My Documents\ and monitor files (not folders).

Watch folder - C:\My Documents
Watch folder C:\My Documents\ to monitor files.

In the Conditions tab of watch folder trigger, specify to watch for modified files. Thus, the trigger will be activated only on file change (not on creation of new files or deletion of existing ones).

Watch folder - On file change - Watch for modified files
Watch folder for modified files to start the Task on file change.

When the Trigger is configured to watch folder for changes in its files, let us add the Copy file Action which will automatically copy files on file change.

Go to the Actions tab of Task Wizard and add Copy file Action, a tool for automatic file copying.

On file change, watch folder will automatically initiate Copy file Action. However, we still need to specify which file to copy. Click on Variable Wizard button to take the monitored file from File / Folder Watcher Trigger that has detected it.

Variable Wizard - C:\My Documents\ - Full path and filename
Copy files automatically on file change.

Let the destination be the C:\Modified files\ folder.

Copy file - [Filename] to C:\Modified files\
Use filename from folder watch trigger and copy files on file change.

Save the settings of the Copy file Action and finalize the remaining steps of Task creation, namely, user credentials, email reports as well as Task name and description.

Conclusion. We have created a Task to watch folder C:\My Documents\ for changes in files. On file change, the File / Folder Watcher Trigger automatically performs the associated Copy files Action. The Action then retrieves the name of changed file from the Trigger and automatically copies it to C:\Modified files\ folder.

Free trial 15 day trial · Details…
Buy now 30 day MBG · Details…

If you have any questions, please do not hesitate to contact our support team.

© 2001–2017 Febooti Ltd.