![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 3650 Date : 2003-02-05 Author : Garry Deane Subject : Re: copying files after certain dates Size(KB) : 1
--- In xxcopy@yahoogroups.com, "dayvah49 " wrote: > Garry - I may not have been very clear in my description! The > switch /fa selected files *OLDER* (not newer) than /da:2003-1-1 > which seems contrary to what Kan described for the action of > these two switches together. With /da:2003-1-1 alone (7) files > were copied. > With /fa added along with /da:2003-1-1 (62) files were copied with > many of those files *OLDER* than the original (7). I'm wondering > if it's a bug in v.2.82.8? Or possibly I've misunderstood the > /fa switch. I have followed Kan's very interesting statements > in recent months about filetime issues in different O.S. > environments and I think I have a rudimentary understanding > of the issue. Maybe I'm not understanding you but when you say the /FA selected files are older than the /DA selected files, what date are you comparing with 2003-1-1? If you are looking at the file dates using explorer, the dates shown are the MODIFIED dates. The /DA:2003-1-1 /FA switch selects files which have been ACCESSED since 2003-1-1. It doesn't matter that the file modify dates are older than that, it matters when they were last accessed. For example, I have 3 files which have modified dates of 01/01/2003. d:\temp>dir /od/n *.txt 01/01/03 05:33p 192 file1.txt 01/01/03 05:34p 216 file2.txt 01/01/03 05:34p 216 file3.txt However the last accessed dates (dd/mm/yy) are as follows: D:\temp>dir /od/ta/n *.txt 27/01/03 12:00a 216 file2.txt 27/01/03 12:00a 216 file3.txt 05/02/03 12:00a 192 file1.txt xxcopy *.txt f:\test /da:2003-01-02 /L selects no files at all because the modified dates are all older than 2003-01-02. xxcopy *.txt f:\test /da:2003-01-02 /fa /L selects all 3 files because the accessed dates are all more recent than 2003-01-02. xxcopy *.txt f:\test /da:2003-02-01 /fa /L selects only file1.txt because it is the only one accessed after 2003- 02-01. Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.