Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TIP] Fixing Clock Skews
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Jan 10, 2007 1:21 am    Post subject: [TIP] Fixing Clock Skews Reply with quote

Well, once upon a time my clock was set very far in the future. I set it to the correct time, and everything complained about clock skews. I didn't feel like waiting another year or two for my clock to catch up, or leaving it at an incorrect time. I found out to fix this it's usually as easy as

Code:
find / | sed 's/ /\\ /g' | xargs touch
Back to top
View user's profile Send private message
Katphish
Apprentice
Apprentice


Joined: 05 Dec 2005
Posts: 155

PostPosted: Wed Jan 10, 2007 5:28 am    Post subject: Reply with quote

hey that is pretty nice. You can save two pipes and make find do all the work though:

Code:
find / -exec touch '{}' ';'
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Wed Jan 10, 2007 9:39 pm    Post subject: Reply with quote

That takes a lot longer..
Thanks anyways :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum