WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> copy files newer than certain date
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1418148995

Message started by WD_User on Dec 9th, 2014 at 7:16pm

Title: copy files newer than certain date
Post by WD_User on Dec 9th, 2014 at 7:16pm
Hi,

Is it possible to copy files after a certain date stamp only. The original files still remain in the source folder.

Thanks

Title: Re: copy files newer than certain date
Post by Gert on Dec 10th, 2014 at 6:49am
Not in a standard way.

It should be possible by using the Run a bat file task and let the script check/copy the files.

Something like
[code]
IF "%WD_FILE_DATE_CR%" GEQ "20141201" COPY "%WD_FILE%" "C:\SomeOtherDir"
[/code]

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.