Thanks.
Do you have a suggestion how one would sync a folder tree but exclude folders older than a specified date?
Thanks,
John
Time and size constraints are not allowed in directory masks.
---
If they were, it would be */>=1Y
The 1Y/
is an invalid constraint. WinSCP 5.9.x and older silently ignores invalid constraints, effectively making the mask catch-all *
.
In WinSCP 5.10 and newer, you will get "Mask is invalid near '=1Y/'."
Using WinSCP 5.9.5 (Build 7441) on Windows Server 2008 R2 with Commander interface connecting to a Windows Server 2008 R2 FileZilla FTP Server.
Trying to synchronize remote directory tree, excluding files and directories older than 1 year.
I'm using the mask *>=1Y; >=1Y/
It appears to be ignoring the mask completely and transferring all the data, so I must be doing something stupid.
Separately, I guess a directory mask can't be like *>=1Y/ since says "mask is invalid" when I put the asterisk in.
Once I get this fixed, will move to scripting it to sync every hour.
Thanks!