I would like to synchronise files from 2 PCs via a cloud.
When PC1 shuts down, it should copy 2 files from a directory to a cloud.
If the 2 files (e.g. from the last synchronisation) are already there, it should copy them into a subdirectory with the current date and replace the two existing files.
I have implemented the following in KM
Unfortunately, any existing subdirectory is also copied each time.
See illustration!
The script should only copy files - NOT folders.
How do I get this to work?
There's probably a better way to do this, but you could check NCFile to see if a folder exists at that location, and if it does, then NCFile is a folder, not a file.