From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,4339c40cf53bf7df X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: Incorrect dates after installation Date: 1999/02/27 Message-ID: <7b9gvu$7b2$1@pulp.ucs.ualberta.ca>#1/1 X-Deja-AN: 449365894 References: <36c1c714.19621951@news.netdirect.net.uk> <7alaij$9jo@bgtnsc02.worldnet.att.net> <7at6ov$sr@bgtnsc02.worldnet.att.net> Organization: Disorganized Bits Reply-To: michal@gortel.phys.ualberta.ca Newsgroups: comp.os.linux.alpha Shane Steven Sturrock (sss@bivalve.wsn.ed.ac.uk) wrote: : On 23 Feb 1999 03:19:59 GMT, Shana Tackett wrote: : >You could also run the following command after fixing the date: : > : >find / -name '*' -exec touch {} \; : > : >as root immediately after install. : Not quite as nice as actually getting the dates right in the first : place though. And, on the top of it, will reset dates on files you created yourself and which have correct time. Definitely undesirable. I have no idea what is a purpose of spreading a buggy info in newsgroups when better approaches were posted quite a few times before. FYI - find has an option like '-newer'. Check man page. A while ago was also a small C program was posted which will back date dates on files by a number of whole years. The same can be achieved, if desired, by beeing a tad more creative with a shell and 'touch' (or easily with Perl, for that matter). --mj