Exclude directories based on last modified date

Advertisement

Rhodin
Guest

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum