touch

Name

touch -- change file access and modification times

Description

touch is as specified in the SUS but with differences as listed below.

Differences

--no-create

is equivalent to -c.

-d, --date=STRING

parses STRING and uses it instead of current time.

--reference=FILE

is equivalent to -r.

--time=WORD

sets time given by WORD: access atime use (same as -a) modify mtime (same as -m).

--version

outputs version information and exits.