Konstantin Petrukhnov Asked: 2010-10-06 02:39:25 +0800 CST2010-10-06 02:39:25 +0800 CST 2010-10-06 02:39:25 +0800 CST Transfer files older than N days with WinSCP 772 How to transfer files with WinSCP that are older than N days? It seems there is no such option inside. But could it be done with scripting/cmd mix? windows date winscp 2 Answers Voted Martin Prikryl 2017-06-07T02:50:00+08:002017-06-07T02:50:00+08:00 Use a file mask with a time constraint: Upload: put C:\local\path\*.*<5D /remote/path/ Download: get /remote/path/*.*<5D C:\local\path\ Ignacio Vazquez-Abrams 2010-10-06T02:48:51+08:002010-10-06T02:48:51+08:00 find can find the files you're interested in, and rsync can take the resultant list and process it.
Use a file mask with a time constraint:
Upload:
Download:
find
can find the files you're interested in, andrsync
can take the resultant list and process it.