Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

touch - set modification date of a file

Bugs

Touch will not touch directories.

                                                                                                   TOUCH(1plan9)

Description

Touch  attempts  to  set the modification time of the files to time (by default, the current time).  If a
       file does not exist, it will be created unless option -c is present.

Name

       touch - set modification date of a file

See Also

ls(1), stat(3), chmod(1)

Source

/src/cmd/touch.c

Synopsis

touch [ -c ] [ -ttime ] file...

See Also