copy/move folder and retain date modified?

  • Thread starter Thread starter J David Ellis
  • Start date Start date
J

J David Ellis

on winxp sp2 how can i copy or move a folder from one hard
drive to another and retain the original date modified?
--david
 
on winxp sp2 how can i copy or move a folder from one hard
drive to another and retain the original date modified?
--david

I'm 99% certain that Robocopy (Windows resource kit) has an option to
keep date/time stamps unchanged.
 
Pegasus said:
Make that 100%.
After installing the Microsoft Robocopy GUI and searching
'Microsoft Robocopy GUI Users Guide.doc', I'm unable to find
an option to copy folder date modified (and date created) in
either the documentation or in the GUI 'copy options' tab.
Any suggestions on how to find this capability in Robocopy?
--David
 
J said:
After installing the Microsoft Robocopy GUI and searching 'Microsoft
Robocopy GUI Users Guide.doc', I'm unable to find an option to copy
folder date modified (and date created) in either the documentation or
in the GUI 'copy options' tab. Any suggestions on how to find this
capability in Robocopy?
--David

It should be in there somewhere, look harder. I know that with the
command line version you can preserve timestamps with the
/COPY:copyflag or /COPYALL options.

John
 
J David Ellis said:
After installing the Microsoft Robocopy GUI and searching 'Microsoft
Robocopy GUI Users Guide.doc', I'm unable to find an option to copy folder
date modified (and date created) in either the documentation or in the
GUI 'copy options' tab. Any suggestions on how to find this capability in
Robocopy?
--David

I use the command line version of robocopy. A quick look at
its help file tells me this:
/COPY:copyflag :: what to COPY (default is /COPY:DAT).
(copyflags : D=Data, A=Attributes, T=Timestamps).
(S=Security=NTFS ACLs, O=Owner info, U=aUditing
info).
 
Pegasus said:
J David Ellis said:
After installing the Microsoft Robocopy GUI and searching 'Microsoft
Robocopy GUI Users Guide.doc', I'm unable to find an option to copy folder
date modified (and date created) in either the documentation or in the
GUI 'copy options' tab. Any suggestions on how to find this capability in
Robocopy?
--David

I use the command line version of robocopy. A quick look at
its help file tells me this:
/COPY:copyflag :: what to COPY (default is /COPY:DAT).
(copyflags : D=Data, A=Attributes, T=Timestamps).
(S=Security=NTFS ACLs, O=Owner info, U=aUditing
info).

This copies the file timestamps but does not copy the folder
timestamps. Any other suggestions?
 
lucasorion said:
try using /dcopy:T to copy timestamps of folders from source to
destination. Do the data transfer first, then run it again only using
the /dcopy:T switch to fix the folders' modified dates.
I do not use RoboCopy, but maybe synctoy 21. might serve you
better.
 
lucasorion replies two years too late:
try using /dcopy:T to copy timestamps of folders from source to
destination. Do the data transfer first, then run it again only using
the /dcopy:T switch to fix the folders' modified dates.

Google Groups copy of old thread: http://preview.tinyurl.com/yzl6qoa

You are replying to a 2-YEAR OLD thread. Notice the datestamps.
 
lucasorion said:
try using /dcopy:T to copy timestamps of folders from source to
destination. Do the data transfer first, then run it again only using
the /dcopy:T switch to fix the folders' modified dates.

You're responding to a 2-year old post.
 
I know that this is a really old thread, but since it's still an issue withWindows and this thread showed up pretty high in my Google search when looking for a fix I thought I'd share a link to an awesome (and free :-)) Microsoft Utility called RichCopy that both resolves this issue and makes it somuch easier to copy large numbers of files/folders.

Here's a link to the article about it in Microsoft's TechNet Magazine whichdescribes the tool, and has a link to download it as well: http://technet.microsoft.com/en-us/magazine/2009.04.utilityspotlight.aspx
 
Back
Top