Re: [CentOS] Opposite of cp -u

2007-08-08 Thread Adam Thompson
CentOS mailing list writes: >I had at one point copied a large number of files between drives and >did >not use the -p and thus the timestamps were all set to the date of the >copy. > >I did not catch this, and deleted the source. So I 'lived' with it >and >have since changed many files. > >Wel

Re: [CentOS] Opposite of cp -u

2007-08-07 Thread William L. Maltby
On Mon, 2007-08-06 at 17:40 -0400, Robert Moskowitz wrote: > P.S. I make (the possibly invalid assumption) that the original directory timestamp is a valid comparator to use in seeing if the file(s) have been modified. For you case, if this is valid, the negation of the test might be needed. --

Re: [CentOS] Opposite of cp -u

2007-08-07 Thread William L. Maltby
On Mon, 2007-08-06 at 17:40 -0400, Robert Moskowitz wrote: > I had at one point copied a large number of files between drives and did > not use the -p and thus the timestamps were all set to the date of the copy. > > I did not catch this, and deleted the source. So I 'lived' with it and > have

[CentOS] Opposite of cp -u

2007-08-06 Thread Robert Moskowitz
I had at one point copied a large number of files between drives and did not use the -p and thus the timestamps were all set to the date of the copy. I did not catch this, and deleted the source. So I 'lived' with it and have since changed many files. Well, yesterday I found a good backup of