From: peter@abbnm.com (Peter da Silva)
Subject: Re: 12/31/1969 & 1/1/70 File Dates
Date: 19 Dec 2001 14:29:46 GMT [thread overview]
Message-ID: <9vq88q$bji@web.nmti.com> (raw)
In-Reply-To: 3C201CF9.542CE279@yahoo.com
In article <3C201CF9.542CE279@yahoo.com>, benhz <benhz@yahoo.com> wrote:
> ??? Can someone either shed some light on the subject
The time encoding on UNIX is such that numbers near zero correspond to
those times (actually, 0 is the beginning of 1970 at Greenwich).
> ??? Can someone send me a script that will only find and touch files
> with either 12/31/1969 or 1/1/1970 dates?
find / -mtime +3650 -exec touch '{}' ';'
That will only touch files more than 10 years old. I suspect that's long
enough you won't find any files with real dates that far back.
--
`-_-' In hoc signo hack, Peter da Silva.
'U` "A well-rounded geek should be able to geek about anything."
-- nicolai@esperi.org
Disclaimer: WWFD?
prev parent reply other threads:[~2001-12-19 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 4:53 12/31/1969 & 1/1/70 File Dates benhz
2001-12-19 8:01 ` Adam Price
2001-12-19 12:48 ` Andrew Duane USG
2001-12-21 3:01 ` ben
2001-12-19 14:29 ` Peter da Silva [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox