View previous topic :: View next topic |
Author |
Message |
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Wed Jan 10, 2007 1:21 am Post subject: [TIP] Fixing Clock Skews |
|
|
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 |
|
|
Katphish Apprentice
Joined: 05 Dec 2005 Posts: 155
|
Posted: Wed Jan 10, 2007 5:28 am Post subject: |
|
|
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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Wed Jan 10, 2007 9:39 pm Post subject: |
|
|
That takes a lot longer..
Thanks anyways |
|
Back to top |
|
|
|