*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> touch (1)              



NAME    [Toc]    [Back]

       touch - change file timestamps

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

       Update  the  access  and modification times of each FILE to the current

       -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)

       -m     change only the modification time

       -r, --reference=FILE
	      use this file's times instead of current time

       -t STAMP
	      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	three  time-date  formats recognized for the -d and -t
       options and for the obsolescent argument are all different.

AUTHOR    [Toc]    [Back]

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

REPORTING BUGS    [Toc]    [Back]

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

COPYRIGHT    [Toc]    [Back]

       Copyright (C) 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

SEE ALSO    [Toc]    [Back]

       The full documentation for touch is maintained as a Texinfo manual.  If
       the info and touch programs are properly installed at  your  site,  the

	      info touch

       should give you access to the complete manual.

touch (fileutils) 4.1		  March 2002			      TOUCH(1)
[ Back ]
 Similar pages
Name OS Title
dcecp_utc HP-UX A dcecp object that manipulates UTC timestamps
chattr Linux change file attributes on a Linux second extended file system
rename IRIX change the name of a file
rename OpenBSD change the name of a file
rename NetBSD change the name of a file
rename HP-UX change the name of a file
rename FreeBSD change the name of a file
chmod NetBSD change mode of file
chmod IRIX change mode of file
chmod OpenBSD change mode of file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service