Synchronzie local. Need to delete the remote files.
I am try to synchronize with the local option. This works really nice. Alle files including subdirectories are downloaded to my local directory.
But now I need to delete the remote files which are downloaded. But the need to stay in my local directory.
I do not get to figure this out how to do this. See the script below to see how it is working now without deleting remote files.
option confirm off
synchronize -preservetime local d:\mcc\archive /TestSync
Thanks for your reply
With "get" this not a problem. I know.
But the issue is that I do not know up front which subdirectories there are on the remote location.
The external process on the remote server creates at random serveral subdirectories (up to 5 deep, and every day it can be different subdirectories) and places files in these directories. And I need all files and when the files are downloaded they can be deleted from the remote server.