Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

touch(1)

change file timestamps

Package: coreutil, added for amigaux.

This package comes with the extra set; without it, touch is the original one: see touch-original(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.

change only the access time
do not create any files
parse STRING and use it instead of current time
(ignored)
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)
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 <bug-coreutils@gnu.org>.

Copyright © 2004 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

info coreutils touch

should give you access to the complete manual.

March 2004 touch (coreutils) 5.2.1