Robocopy does not keep timestamp on new directories

  • Thread starter Levy Carneiro Jr.
  • Start date
L

Levy Carneiro Jr.

Hi,
I'm having a problem with ROBOCOPY.EXE version XP010. When I copy
files from a server to another one, it replicates OK, but the new
directories don't keep the original "LastWriteTime" information, also
know as timestamp information.

Is this a bug? If so, is there a newer version anywhere so I can
download? If not, what should I do to correct it?

I also tested Robocopy version 1.96, but this one gets the same
problem. In both versions I have to re-run robocopy just to correct
the timestamp on new directories.

As for now I'm using Robocopy version 1.96 with the /TIMFIX option to
correct the timestamp on news directories. So I have to run 2
different versions of robocopy.exe to do the job.

In one phrase: how can I run robocopy in order to sinchronize
directories contents, and, at the same execution, keeping the dates on
new directories (without having to re-run robocopy).

Here's the command issued:

D:\>ROBOCOPY-XP010.exe d:\robocopy-test
\\destination-machine\docs\robocopy-test /MIR /COPYALL /N P /R:0 /W:0
/LOG:templog.txt

Further info:

· Version number:
XP010

· Operating system and Service Pack for all computers:
master: Windows 2000 Server - SP4
destination-machine: Windows 2000 Server - SP4

· File system:
NTFS

· Method of running Robocopy (from the command prompt, using Schedule
service, and so on):
Command prompt.

· User account information.
Logged as MYDOMAIN/administrator. This user has 'Full Control'
permission on both servers.


Thanks for any help,
Levy
 
G

Guest

I'm having the same problem, and thought the /COPYALL switch would retain the time stamps.

The documentation for Version XP010 says the /Timfix switch has been changed to /Copy:T --
"The /TIMFIX or /SECFIX switches are no longer supported. If you have scripts that use these switches you must edit them to use /COPY: instead. /COPY:T replaces the old /TIMFIX, and /COPY:S replaces the old /SECFIX.

That's what I'll try next.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top