Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Alpha: Future time again
Date: Mon, 13 Sep 1999 23:12:10 -0600 (MDT)	[thread overview]
Message-ID: <199909140512.XAA10362@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199909140107.VAA17041@ra.lexis-nexis.com> from "Larry Snyder" at Sep 13, 99 09:07:25 pm

Larry Snyder wrote:
> 
> There's a find command you can run to fix these.  It's in the archives.
> The raw form would be 'find / -exec touch {} \;'.  This will set the
> timestamp on all files to current.

You likely want to reset time only on those files in the future.
For that:

  touch /tmp/now ; find / -newer /tmp/now | xargs touch ; rm /tmp/now

> This is _not_ quite how you
> want to do it, but close.

As far as I am concerned not very close, but you may have different
tastes. :-)  See also 'man touch' for what else you can do with it
(quite a lot, actually).  There is no good way to change time on
symbolic links beyond deleting and recreating them with the current
time.

   Michal


      reply	other threads:[~1999-09-14  5:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-14  0:27 Alpha: Future time again yue-feng sun
1999-09-14  1:07 ` Larry Snyder
1999-09-14  5:12   ` Michal Jaegermann [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