Carl Lowenstein wrote:
On Sat, Aug 16, 2008 at 9:24 AM, David Brown <[EMAIL PROTECTED]> wrote:
On Fri, Aug 15, 2008 at 10:23:00PM -0700, Carl Lowenstein wrote:
On Fri, Aug 15, 2008 at 4:20 PM, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
But gwget is working pretty well. I just wish I knew a way to force new
files written to that directory to be touched with the current timestamp
(since wget, and apparently gwget, preserves the original timestamp of
the
file from the other computer).
Different tastes for different people. I rather like the fact that
wget preserves the original timestamp, since that is a property of the
original file, not of the fact that I downloaded it at some later
time.
The 'ctime' will tell you when you last updated the file, and it
cannot be set to an earlier time. You can use either the 'stat'
program to see it, or add '-c' to ls, e.g. 'ls -clt' to sort by ctime.
I think we are talking in circles here. When I download a file from a
repository, I would like it to keep its original mtime if possible.
This is the time that is reported by the simple "ls -lt".
I am less interested in the record of when I acquired it. But I could
learn that by "ls -ltc" which show the modification time of the inode,
not of the data.
carl
Thanks Carl and David, that is the perfect solution. I will likely
start using that enough to be able to remember it. But since the output
will be quite long, I'll probably add -r to put the most recently saved
files at the end.
ls -ltcr
Thanks again.
--
The two points therefore, which I conceive to be the basis of a standard
in speaking, are these; universal undisputed practice, and the principle
of analogy. Universal practice is generally, perhaps always, a rule of
propriety; and in disputed points, where people differ in opinion and
practice, analogy should always decide the controversy.
--Noah Webster, 1789
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list