aboutsummaryrefslogtreecommitdiff
path: root/man/man1/touch.1
blob: a02440d2cbc42dd39424d912e1cb272cec2c3ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.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
.IR ls (1),
.IR stat (3),
.IR chmod (1)
.SH BUGS
.I Touch
will not touch directories.