Below is the full log of the test I ran before I posted my reply:
Directory of D:\Tue
Tue 15/09/2009 09:45 108 sub.txt
Wed 16/09/2009 09:44 2,275 set.txt
robocopy d:\tue d:\tue1 *.* /maxage:1
Directory of D:\Tue1
Wed 16/09/2009 09:44 2,275 set.txt
I suggest you run a similar test, then post the result here in support of
your claim.
"Miguel" <> wrote in message
news:755028D2-7E0A-42F0-91A1-...
> But this option brings the modified files also the day before.
> What I need is for example.
>
> Day: 16-09-2009.
> ONLY synchronize files to other folder modified 16-09-2009 day from 00.00
> until at 20.00h
>
>
> "Pegasus [MVP]" <> escribió en el mensaje de noticias
> news:...
>>
>> "Miguel" <> wrote in message
>> news:...
>>> Hi!.
>>> I have a script with robocopy as follows:
>>> robocopy.exe source destination /MIR /SEC /CopyAll /V /TEE /B /MAXAGE:1
>>> /W:5 /R:1
>>>
>>> running at 00.01h and copy the modified files to another folder, then
>>> run the wzzip.exe and taking them to another location via FTP.
>>>
>>> Now I have to perform the same operation, but at 20.00h, and I need a
>>> different folder, ONLY 0.00-20.00 modified files from the same day.
>>>
>>> As I do?
>>>
>>
>> Use the /maxage:1 switch.
>>
>
|