Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-unix!hplabs!ucbvax!ulysses!ggs From: ggs@ulysses.UUCP (Griff Smith) Newsgroups: comp.unix.questions Subject: Re: Unix Question Message-ID: <1464@ulysses.UUCP> Date: Thu, 13-Nov-86 08:40:31 EST Article-I.D.: ulysses.1464 Posted: Thu Nov 13 08:40:31 1986 Date-Received: Thu, 13-Nov-86 21:25:49 EST References: <249@sjuvax.UUCP> <808@mtund.UUCP> <4287@umcp-cs.UUCP> <1490@ihlpl.UUCP> Distribution: net Organization: AT&T Bell Laboratories, Murray Hill Lines: 29 > > >> I'll make this short and sweet: > > >> > > >> How can one change the date/time stamp of a file? > > > > > >See touch(1) in the User Reference Manual (RTFM!). > > > The original poster does not want to put the *current* time on > > the file...he wants to put *any* time on the file. There are three > > Don't be so quick to shoot down the original answer. touch(1) can > do exactly what you want with no need to mess with inode tables. > Bell Labs people: please don't assume System V is The Only Choice. Silly name calling like the above doesn't help what's left of our credibility. Yes, the System V version of "touch" allows specification of a date-time. It also works on any file owned by the toucher, including directories and special files. 4BSD users: please be more specific in your questions; include the system version if you know it. Given that the BSD version of "touch" only works if you have permission to append nothing to a file, I appreciate your frustration. -- Griff Smith AT&T (Bell Laboratories), Murray Hill Phone: (201) 582-7736 UUCP: {allegra|ihnp4}!ulysses!ggs Internet: ggs@ulysses.uucp