watchDirectory Help > Plugins > Automatically Copy Files
Automatically Copy Files
This plugin automatically copies new and changed files to another folder.
Settings
Use dynamic naming for the target file
Dynamically name the destination for the copied files.
Instead of entering a "fixed" drive/directory, use tags that will be replaced at runtime by their current values.
For example, the dynamic name C:\Target\{year}\{extension}\{filename} causes the file mother.jpg to be copied to C:\Target\2008\jpg\mother.jpg, whereas proposal.doc is copied to C:\Target\2008\doc\proposal.doc.
Dynamic name is a directory
Indicates that Dynamic name (below) is a directory name. The file will be copied to that (new) directory.
If this option is not checked, Dynamic name is treated as the new filename.
Dynamic name
Enter the dynamic name. Click {Select} to open a menu of supported tags.
The menu shows example values for the file "C:\Monitor\subdir\sub\file.txt".
The name must start with a drive (e.g. "C:\") or UNC name (e.g. "\\Server\Share\dir").
All directories that do not exist will be created automatically.
For more information, see tags and functions.
Target Directory
Enter the name of the destination directory for copied files.
Click Browse to navigate to it.
This option is not available when using dynamic naming.
If the file already exists...
What to do if a file with the same name already exists inside the target directory.
Create the same directory structure in the target directory
Copy the files to the same relative subdirectory in the target directory, creating directories as required.
For example, the file "C:\Mon\Sub\Dir\newfile.txt" will be copied to "D:\Target\Sub\Dir\newfile.txt". The subdirectories in "D:\Target" will be created automatically.
If you do not select this option, files are copied directly to the target directory. So, the previous example file would be copied to "D:\Target\newfile.txt".
This option is not available using dynamic naming.
When renaming, leave the file extension intact
How the naming options affect the file extension.
With this option selected, the date/time (or the string OLD) is added before the extension of the file (e.g. "hello.20050130235959.txt"). Otherwise, it is added after the extension (e.g. "hello.txt.20050130235959").
Not available when using dynamic naming.
Remove the file after successful copy
Delete the original file after copying to the Target Directory.
