Seth Woolley's Man Viewer

touch(1) - touch, touch - change file timestamps - man 1 touch

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

TOUCH(1)                              FSF                             TOUCH(1)



NAME
       touch - change file(1,n) timestamps

SYNOPSIS
       touch [OPTION]... FILE...
       touch [-acm] MMDDhhmm[YY] FILE... (obsolescent)

DESCRIPTION
       Update  the  access(2,5)  and modification times of each FILE to the current
       time.

       -a     change only the access(2,5) time(1,2,n)

       -c, --no-create
              do not create any files

       -d, --date=STRING
              parse STRING and use it instead of current time(1,2,n)

       -f     (ignored)

       -m     change only the modification time(1,2,n)

       -r, --reference=FILE
              use this file(1,n)'s times instead of current time(1,2,n)

       -t STAMP
              use [[CC]YY]MMDDhhmm[.ss] instead of current time(1,2,n)

       --time=WORD
              set(7,n,1 builtins) time(1,2,n) given by WORD: access(2,5) atime use  (same  as  -a)  modify
              mtime (same as -m)

       --help display this help and exit(3,n,1 builtins)

       --version
              output version(1,3,5) information and exit(3,n,1 builtins)

       Note  that  the  three  time-date  formats recognized for the -d and -t
       options and for the obsolescent argument are all different.

AUTHOR
       Written by Paul Rubin, Arnold Robbins, Jim  Kingdon,  David  MacKenzie,
       and Randy Smith.

REPORTING BUGS
       Report bugs to <bug-fileutils@gnu.org>.

COPYRIGHT
       Copyright  2001 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.

SEE ALSO
       The full documentation for touch is maintained as a Texinfo manual.  If
       the info(1,5,n) and touch programs are properly installed at  your  site,  the
       command

              info(1,5,n) touch

       should give you access(2,5) to the complete manual.



touch (fileutils) 4.1             April 2001                          TOUCH(1)

References for this manual (incoming links)