Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!styx!twg-ap!amdahl!pyramid!decwrl!amdcad!cae780!tektronix!uw-beaver!ssc-vax!voodoo!bill From: bill@voodoo.UUCP (Bill Sears) Newsgroups: comp.unix.questions Subject: Re: Unix Question Message-ID: <197@voodoo.UUCP> Date: Thu, 13-Nov-86 11:30:43 EST Article-I.D.: voodoo.197 Posted: Thu Nov 13 11:30:43 1986 Date-Received: Sun, 16-Nov-86 01:51:56 EST References: <249@sjuvax.UUCP> <808@mtund.UUCP> <4287@umcp-cs.UUCP> Reply-To: bill@voodoo.UUCP (Bill Sears) Distribution: net Organization: Who has time to be organized?? Lines: 24 In article <4287@umcp-cs.UUCP> steve@umcp-cs.UUCP (Steve D. Miller) writes: >In article <808@mtund.UUCP> adam@mtund.UUCP (Adam V. Reed) writes: >>> I'll make this short and sweet: >>> >>> How can one change the date/time stamp of a file? >>> >>> I want to be able to put any date/time on a file that I >>> have in my directory... >>> Chuck Conway >> >>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 I don't know if it's standard or not, but at least one version of touch that I've used allowed the user to enter a time/date on the command line to touch onto the file. For example: touch 8603241425 filename.c == 2:25 pm march 24, 1986 -- Bill Sears ....uw-beaver!ssc-vax!voodoo!bill Masochist's Battle Cry - Stop it again!!! Quit it some more!!!