How do I copy files based on 'date created' comparison

  • Thread starter Thread starter ag1
  • Start date Start date
A

ag1

I want to copy files to a destination only if the 'date
created' is newer than the destination. 'Date modified'
will not work because I am copying MS Access files that
are worked on and therefore there 'date modified's will
be newer than the source file.
 
If you are doing drag and drop copy from a folder view, select Details view.
Right click on the heading bar (where you see "Name" "Size" "Date Modified",
etc - click on "Date Created" to add that as a heading. You can then sort
and select based on that information.

Another possibility, in a Command Prompt Window (or DOS Window, as some of
call it), use the "xcopy" command with the /D flag. I'm not sure if this
will really select based on modified or created date - some experimentation
is needed.

XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
[/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U]
[/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
[/EXCLUDE:file1[+file2][+file3]...]

source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.


Val
--
Bringing you BeadWizard Design Software
www.beadwizard.com
***************************
Practice safe eating -- always use condiments.
***************************

I want to copy files to a destination only if the 'date
created' is newer than the destination. 'Date modified'
will not work because I am copying MS Access files that
are worked on and therefore there 'date modified's will
be newer than the source file.
 

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

Back
Top