Re: Alpha: Future time again


Subject: Re: Alpha: Future time again
From: Michal Jaegermann (michal@ellpspace.math.ualberta.ca)
Date: Mon Sep 13 1999 - 22:12:10 PDT


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

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



This archive was generated by hypermail 2a22 : Mon Oct 04 1999 - 12:44:52 PDT