Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!think!ames!ptsfa!ihnp4!ihdev!pdg From: pdg@ihdev.ATT.COM (Joe Isuzu) Newsgroups: comp.unix.questions Subject: Re: How do I set a file's creation date? Message-ID: <1489@ihdev.ATT.COM> Date: Sun, 19-Jul-87 18:35:42 EDT Article-I.D.: ihdev.1489 Posted: Sun Jul 19 18:35:42 1987 Date-Received: Mon, 20-Jul-87 00:38:51 EDT References: <4280@caip.rutgers.edu> <1108@killer.UUCP> <1650@sfsup.UUCP> Reply-To: pdg@ihdev.UUCP (Joe Isuzu) Organization: American Nasal Amputation Centre Lines: 26 In article <1650@sfsup.UUCP> mpl@sfsup.UUCP (M.P.Lindner) writes: >In article <1108@killer.UUCP>, jfh@killer.UUCP writes: >> I have posted my version of the Version 7 settime(1) command to >> comp.sources.misc. Watch for it! >I just read it! >Seriously, have you ever heard of "touch"? Read section 1 of your UNIX(R) >manual! OK. SYNOPSIS touch -c -f file Hmmm. I'm not sure how that would let me set the time of a file to anything I want. (That was BSD 4.2). Just remember, system V is not the only UNIX version out there - indeed on SysV, you can use touch for setting file times, and I'm sure John was quite aware of that. He mentioned Version 7, and from the looks of the manual, the Berkeley touch has not changed from the V7 touch. -- Paul Guthrie "Another day, another Jaguar" ihnp4!ihdev!pdg -- Pat Sajak