touch [OPTION] [FILE]
-a
change only the access time
-c, --no-create
do not create any files
-d, --date=STRING
parse STRING and use it instead of current time
-f
(ignored)
-h, --no-dereference
affect each symbolic link instead of any referenced file (useful only on systems that can change the timestamps of a symlink)
-m
change only the modification time
-r, --reference=FILE
use this files times instead of current time
-t STAMP
use [[CC]YY]MMDDhhmm[.ss] instead of current time
--time=WORD
change the specified time: WORD is access, atime, or use: equivalent to -a WORD is modify or mtime: equivalent to -m
--help
display this help and exit
--version
output version information and exit
touch file1
touch -am file
touch -r file4 file5
touch -r file6 -B 30 file7
touch -d '1 May 2005 10:22' file8
touch -d '14 May' file9
touch -d '14:24' file9
touch -c file10
N/A