* Alpha: Future time again
@ 1999-09-14 0:27 yue-feng sun
1999-09-14 1:07 ` Larry Snyder
0 siblings, 1 reply; 3+ messages in thread
From: yue-feng sun @ 1999-09-14 0:27 UTC (permalink / raw)
To: axp-list, larry, stepan
Thanks to Stefan and Larry for your replies to my post on future time problem
with Alpha.
The advices you gave and the instructions you pointed to are indeed useful
to kill the random time setting after installation. However, the problem
I have now is that all the files, dirs, and links created by RedHat
installation were set to 2019 except those created after setting the time zone
panel. I checked the rpm installation log and all the installed packages
have installation time 2019.
By the way, I only have RH running on the Alpha. I leave no Winnt on the
machine.
How is it?
Thanks,
Sun
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alpha: Future time again
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
0 siblings, 1 reply; 3+ messages in thread
From: Larry Snyder @ 1999-09-14 1:07 UTC (permalink / raw)
To: axp-list
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. This is _not_ quite how you
want to do it, but close. There's an atime or ctime or mtime
constraint you want to put in there to only tweak the files with
the bad timestamp. Obviously, you'd only run this after the date command
returned the current time, and as root. Can someone with the rest of
this chime in?
thanx,
-ls-
yue-feng sun <sunyf@ldeo.columbia.edu> wrote:
> Thanks to Stefan and Larry for your replies to my post on future time problem
> with Alpha.
>
> The advices you gave and the instructions you pointed to are indeed useful
> to kill the random time setting after installation. However, the problem
> I have now is that all the files, dirs, and links created by RedHat
> installation were set to 2019 except those created after setting the time zone
> panel. I checked the rpm installation log and all the installed packages
> have installation time 2019.
> By the way, I only have RH running on the Alpha. I leave no Winnt on the
> machine.
>
> How is it?
>
> Thanks,
> Sun
>
> --
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alpha: Future time again
1999-09-14 1:07 ` Larry Snyder
@ 1999-09-14 5:12 ` Michal Jaegermann
0 siblings, 0 replies; 3+ messages in thread
From: Michal Jaegermann @ 1999-09-14 5:12 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-09-14 5:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox