touch - change file timestamps
touch [OPTION]... FILE...
touch [-acm] MMDDhhmm[YY] FILE... (obsolescent)
Update the access and modification times of each FILE to the current
-a change only the access time
do not create any files
parse STRING and use it instead of current time
-m change only the modification time
use this file's times instead of current time
use [[CC]YY]MMDDhhmm[.ss] instead of current time
set time given by WORD: access atime use (same as -a) modify
mtime (same as -m)
--help display this help and exit
output version information and exit
Note that the three time-date formats recognized for the -d and -t
options and for the obsolescent argument are all different.
Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie,
and Randy Smith.
Report bugs to <firstname.lastname@example.org>.
Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
The full documentation for touch is maintained as a Texinfo manual. If
the info and touch programs are properly installed at your site, the
should give you access to the complete manual.
touch (fileutils) 4.1 March 2002 TOUCH(1)
[ Back ]