TOUCH(1) User Commands TOUCH(1)
touch - change file timestamps
touch [OPTION]... FILE...
Update the access and modification times of each FILE to the current
Mandatory arguments to long options are mandatory for short options
-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 -d and -t options accept different time-date formats.
Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie,
and Randy Smith.
Report bugs to <email@example.com>.
Copyright © 2004 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
info coreutils touch
should give you access to the complete manual.
touch (coreutils) 5.2.1 July 2005 TOUCH(1)
Man(1) output converted with