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

martin
Site Admin
martin avatar
Joined:
Posts:
28,659
Location:
Prague, Czechia

Re: Exclude directories based on last modified date

No, WinSCP does not support that.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum