From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a4058c37c8deaaa3 X-Google-Attributes: gid111c93,public From: Robert Harley Subject: Re: How can I change year 2018 to 1998 Date: 1998/10/15 Message-ID: #1/1 X-Deja-AN: 401295620 Content-Transfer-Encoding: 8bit References: <6vvjk0$t70$1@news.kjist.ac.kr> Content-Type: text/plain; charset=iso-8859-1 Organization: I.N.R.I.A Rocquencourt Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha "G. Hugh SONG" writes: > I installed the RedHat 5.1 on a fresh hard. > Oh, no! All the links and the directories are dated at year 2018. > How can I fix this? The month and day are all right. I wrote a tiny program called "chyear": syntax: ./chyear -(-a|-m) If access (-a) or modification (-m) time of falls in , it is changed to . You can use it to do stuff like: foreach file ( `find . -mtime -0 -print` ) chyear -m $file 2018 1998 end Source at: http://pauillac.inria.fr/~harley/tmp/chyear.c Disclaimer: No warranty etc. Bye, Rob.