1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH TOUCH "1" "March 2007" "GNU coreutils 6.9" "User Commands"
4 touch \- change file timestamps
7 [\fIOPTION\fR]... \fIFILE\fR...
9 .\" Add any additional description here
11 Update the access and modification times of each FILE to the current time.
13 Mandatory arguments to long options are mandatory for short options too.
16 change only the access time
18 \fB\-c\fR, \fB\-\-no\-create\fR
19 do not create any files
21 \fB\-d\fR, \fB\-\-date\fR=\fISTRING\fR
22 parse STRING and use it instead of current time
28 change only the modification time
30 \fB\-r\fR, \fB\-\-reference\fR=\fIFILE\fR
31 use this file's times instead of current time
34 use [[CC]YY]MMDDhhmm[.ss] instead of current time
36 \fB\-\-time\fR=\fIWORD\fR
37 change the specified time:
38 WORD is access, atime, or use: equivalent to \fB\-a\fR
39 WORD is modify or mtime: equivalent to \fB\-m\fR
42 display this help and exit
45 output version information and exit
47 Note that the \fB\-d\fR and \fB\-t\fR options accept different time\-date formats.
49 If a FILE is \-, touch standard output.
51 Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith.
53 Report bugs to <bug\-coreutils@gnu.org>.
55 Copyright \(co 2007 Free Software Foundation, Inc.
57 This is free software. You may redistribute copies of it under the terms of
58 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
59 There is NO WARRANTY, to the extent permitted by law.
61 The full documentation for
63 is maintained as a Texinfo manual. If the
67 programs are properly installed at your site, the command
71 should give you access to the complete manual.