Unix Question

N. R Tiedemann normt at ihlpa.UUCP
Thu Nov 13 06:13:35 AEST 1986


> In article <808 at mtund.UUCP> adam at mtund.UUCP (Adam V. Reed) writes:
> >> I'll make this short and sweet:
> >>      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
> Spoken: Steve Miller 	ARPA:	steve at mimsy.umd.edu	Phone: +1-301-454-4251

Steve- READ YOUR UNIX MANUAL!!!!   Mine states under TOUCH(1) ... causes the
access and modification times of each argument to be updated. IF NO TIME IS 
SPECIFIED THE CURRENT TIME IS USED. You can specify the time you want it touched
to. This is exactly what the original poster wanted.

touch [ -amc] [mmddhhmm[yy] ] files

This give you month date hour minute and year, what more could you want?!?

	Norm Tiedemann
	ihnp4!ihlpa!normt
	AT&T Bell Labs 



More information about the Comp.unix.questions mailing list