plan9port/man/man1/touch.1
Russ Cox d32deab17b tmac: rename IM (italic manual) to MR (manual reference)
Suggested by G. Brandon Robinson.
2020-08-15 20:09:40 -04:00

35 lines
462 B
Groff

.TH TOUCH 1
.SH NAME
touch \- set modification date of a file
.SH SYNOPSIS
.B touch
[
.B -c
]
[
.B -t
.I time
]
.I file ...
.SH DESCRIPTION
.I Touch
attempts to set the modification time of the
.I files
to
.I time
(by default, the current time).
If a
.I file
does not exist,
it will be created unless option
.B -c
is present.
.SH SOURCE
.B \*9/src/cmd/touch.c
.SH SEE ALSO
.MR ls (1) ,
.MR stat (3) ,
.MR chmod (1)
.SH BUGS
.I Touch
will not touch directories.