Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Exclude directories based on last modified date

No, WinSCP does not support that.
Rhodin

Exclude directories based on last modified date

Hi,

I'm using WinScp to synchronize a large amount of files (50k) and directories (5k) between two servers using a batch script. I have just discovered the very useful time filtering option, as the script runs automatically every hour.

I use the following expression:
synchronize both C:\Synplex\ProdServer\ProcessActions /data/Synplex/ProdServer/ProcessActions -filemask=>1D


This works perfectly for the files, but all subdirectories (5k) are still scanned for changes. Is there any way I can persuade WinScp to simply skip the subdirectories which has a last modification date older than for example 1 day?

Thanks,
Daniel Rhodin