touch.1 (762B)
1 .Dd January 20, 2014 2 .Dt TOUCH 1 sbase\-VERSION 3 .Sh NAME 4 .Nm touch 5 .Nd set file timestamps 6 .Sh SYNOPSIS 7 .Nm touch 8 .Op Fl acm 9 .Op Fl t Ar stamp 10 .Ar file ... 11 .Sh DESCRIPTION 12 .Nm 13 sets the access and modification times of files to the current time of day. If the file 14 doesn't exist, it is created with the default permissions. 15 .Sh OPTIONS 16 .Bl -tag -width Ds 17 .It Fl a 18 Set the access time of the file. 19 .It Fl c 20 Do not create the file it it does not exist. The exit 21 status is not affected. 22 .It Fl m 23 Change the modification time of the file. 24 .It Fl t Ar stamp 25 Set the timestamp to be used with 26 .Op Fl am . 27 The format of the timestamp is simply the number of seconds 28 since Jan 1, 1970. This specification of time does not conform 29 to POSIX. 30 .El 31 .Sh SEE ALSO 32 .Xr date 1