From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,a4058c37c8deaaa3 X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: How can I change year 2018 to 1998 Date: 1998/10/19 Message-ID: <70fv8g$iuo$1@pulp.ucs.ualberta.ca>#1/1 X-Deja-AN: 402881182 References: <6vvjk0$t70$1@news.kjist.ac.kr> Organization: Disorganized Bits Reply-To: michal@gortel.phys.ualberta.ca Newsgroups: comp.os.linux.alpha Robert Harley (harley@corton.inria.fr) wrote: : > If you do not care about dates on links then 'touch' will work : > equally well without writing any C and compiling anything. : No way Jos�. The whole point is to move bunches of files from the : future back to the past without messing up the order of their time : stamps relative to one another. I do not follow. 'touch' is absolutely capable of changing only a year - exactly the same way as 'chyear' does. At least this version you have on your machine. Once again - type 'touch --help'. : If you care about versioning, : makefiles or just want to know "which version of that project is the : most recent?", As I normally run 'touch' as a part of an installation process, immediately after a system clock is sane, and only touch files with dates in the future then the above is a non-existing problem. : it's best not to throw away all timestamp information : with 'touch'. IMHO. There is none yet but you may set date to anything you want anyway. Just a few lines of shell/perl/awk (take your pick). This still leaves us with weird dates on links. Big sigh! The only way I know is to delete a link and recreate it. I am not going to do that automatically as quite a few of these links are to libraries. Michal