'\" te .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35. .TH TOUCH "1" "March 2012" "GNU coreutils 8.16" "User Commands" .SH NAME touch \- change file timestamps .SH SYNOPSIS .B touch [\fIOPTION\fR]... \fIFILE\fR... .SH DESCRIPTION .\" Add any additional description here .PP Update the access and modification times of each FILE to the current time. .PP A FILE argument that does not exist is created empty, unless \fB\-c\fR or \fB\-h\fR is supplied. .PP A FILE argument string of \- is handled specially and causes touch to change the times of the file associated with standard output. .PP Mandatory arguments to long options are mandatory for short options too. .TP \fB\-a\fR change only the access time .TP \fB\-c\fR, \fB\-\-no\-create\fR do not create any files .TP \fB\-d\fR, \fB\-\-date\fR=\fISTRING\fR parse STRING and use it instead of current time .TP \fB\-f\fR (ignored) .TP \fB\-h\fR, \fB\-\-no\-dereference\fR affect each symbolic link instead of any referenced file (useful only on systems that can change the timestamps of a symlink) .TP \fB\-m\fR change only the modification time .TP \fB\-r\fR, \fB\-\-reference\fR=\fIFILE\fR use this file's times instead of current time .TP \fB\-t\fR STAMP use [[CC]YY]MMDDhhmm[.ss] instead of current time .TP \fB\-\-time\fR=\fIWORD\fR change the specified time: WORD is access, atime, or use: equivalent to \fB\-a\fR WORD is modify or mtime: equivalent to \fB\-m\fR .TP \fB\-\-help\fR display this help and exit .TP \fB\-\-version\fR output version information and exit .PP Note that the \fB\-d\fR and \fB\-t\fR options accept different time\-date formats. .SH "DATE STRING" .\" NOTE: keep this paragraph in sync with the one in date.x The --date=STRING is a mostly free format human readable date string such as "Sun, 29 Feb 2004 16:21:42 -0800" or "2004-02-29 16:21:42" or even "next Thursday". A date string may contain items indicating calendar date, time of day, time zone, day of week, relative time, relative date, and numbers. An empty string indicates the beginning of the day. The date string format is more complex than is easily documented here but is fully described in the info documentation. .SH AUTHOR Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. .SH "REPORTING BUGS" Report touch bugs to bug\-coreutils@gnu.org .br GNU coreutils home page: .br General help using GNU software: .br Report touch translation bugs to .SH COPYRIGHT Copyright \(co 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .\" Oracle has added the ARC stability level to this manual page .SH ATTRIBUTES See .BR attributes (5) for descriptions of the following attributes: .sp .TS box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availability file/gnu-coreutils = Stability Uncommitted .TE .PP .SH "SEE ALSO" The full documentation for .B touch is maintained as a Texinfo manual. If the .B info and .B touch programs are properly installed at your site, the command .IP .B info coreutils \(aqtouch invocation\(aq .PP should give you access to the complete manual. .SH NOTES .\" Oracle has added source availability information to this manual page This software was built from source available at https://java.net/projects/solaris-userland. The original community source was downloaded from http://ftp.gnu.org/gnu/coreutils/coreutils-8.16.tar.xz Further information about this software can be found on the open source community website at http://www.gnu.org/software/coreutils/.