|Linux & Unix Commands - Search Man Pages
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 time.
Mandatory arguments to long options are mandatory for short options too.
-a change only the access time
Modify the time by going back SECONDS seconds. For example, touch -r foo -B 5 bar
will make the file bar 5 seconds older than file foo.
do not create any files
parse STRING and use it instead of current time
Modify the time by going forward SECONDS seconds. For example, touch -r foo -F 5
bar will make the file bar 5 seconds newer than file foo.
-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 (C) 2002 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 PURPOSE.
The full documentation for touch is maintained as a Texinfo manual. If the info and touch
programs are properly installed at your site, the command
should give you access to the complete manual.
touch (coreutils) 4.5.3 October 2002 TOUCH(1)
All times are GMT -4. The time now is 01:23 PM.