coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

coreutils/man/touch.1 (55 lines, 1.2 KiB) -rw-r--r-- file download

e2140ec Jamozed 2022-03-06 15:27:45
0
.TH TOUCH 1 2022-03-06 "OMKOV coreutils" "General Commands Manual"
214225f Jamozed 2020-06-28 00:01:03
1
.SH NAME
214225f Jamozed 2020-06-28 00:01:03
2
touch \(em change file access and modify times
214225f Jamozed 2020-06-28 00:01:03
3
.SH SYNOPSYS
214225f Jamozed 2020-06-28 00:01:03
4
\fBtouch\fR [-acm] [-d \fItime\fR|-r \fIfile\fR|-t \fItime\fR] \fIfile\fR...
214225f Jamozed 2020-06-28 00:01:03
5
.SH DESCRIPTION
214225f Jamozed 2020-06-28 00:01:03
6
Update the access and modification times of one or more files.
214225f Jamozed 2020-06-28 00:01:03
7
.SH OPTIONS
214225f Jamozed 2020-06-28 00:01:03
8
The following options are supported:
214225f Jamozed 2020-06-28 00:01:03
9
.TP
214225f Jamozed 2020-06-28 00:01:03
10
.B -a
214225f Jamozed 2020-06-28 00:01:03
11
Change the access time only.
214225f Jamozed 2020-06-28 00:01:03
12
.TP
214225f Jamozed 2020-06-28 00:01:03
13
.B -c
214225f Jamozed 2020-06-28 00:01:03
14
Do not create new files.
214225f Jamozed 2020-06-28 00:01:03
15
.TP
214225f Jamozed 2020-06-28 00:01:03
16
.B -d \fItime\fR
214225f Jamozed 2020-06-28 00:01:03
17
Use YYYY-MM-DDThh:mm:SS[.frac][tz] instead of current time.
214225f Jamozed 2020-06-28 00:01:03
18
.TP
214225f Jamozed 2020-06-28 00:01:03
19
.B -m
214225f Jamozed 2020-06-28 00:01:03
20
Change the modification time only.
214225f Jamozed 2020-06-28 00:01:03
21
.TP
214225f Jamozed 2020-06-28 00:01:03
22
.B -r \fIfile\fR
214225f Jamozed 2020-06-28 00:01:03
23
Use a specified files times.
214225f Jamozed 2020-06-28 00:01:03
24
.TP
214225f Jamozed 2020-06-28 00:01:03
25
.B -t \fItime\fR
214225f Jamozed 2020-06-28 00:01:03
26
Use [[CC]YY]MMDDhhmm[.SS] instead of current time.
214225f Jamozed 2020-06-28 00:01:03
27
.TP
214225f Jamozed 2020-06-28 00:01:03
28
.B --help
214225f Jamozed 2020-06-28 00:01:03
29
Display help information.
214225f Jamozed 2020-06-28 00:01:03
30
.TP
214225f Jamozed 2020-06-28 00:01:03
31
.B --version
214225f Jamozed 2020-06-28 00:01:03
32
Display version information.
214225f Jamozed 2020-06-28 00:01:03
33
.SH OPERANDS
214225f Jamozed 2020-06-28 00:01:03
34
The following operand is supported:
214225f Jamozed 2020-06-28 00:01:03
35
.TP
214225f Jamozed 2020-06-28 00:01:03
36
.I file
214225f Jamozed 2020-06-28 00:01:03
37
A pathname of a file.
214225f Jamozed 2020-06-28 00:01:03
38
.SH EXIT STATUS
214225f Jamozed 2020-06-28 00:01:03
39
The following exit values will be returned:
214225f Jamozed 2020-06-28 00:01:03
40
.TP
214225f Jamozed 2020-06-28 00:01:03
41
\ 0
214225f Jamozed 2020-06-28 00:01:03
42
All files were processed successfully.
214225f Jamozed 2020-06-28 00:01:03
43
.TP
214225f Jamozed 2020-06-28 00:01:03
44
>0
214225f Jamozed 2020-06-28 00:01:03
45
An error occurred.
214225f Jamozed 2020-06-28 00:01:03
46
.SH STANDARDS
214225f Jamozed 2020-06-28 00:01:03
47
The \fItouch\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2")
214225f Jamozed 2020-06-28 00:01:03
48
specification.
214225f Jamozed 2020-06-28 00:01:03
49
.SH COPYRIGHT
214225f Jamozed 2020-06-28 00:01:03
50
.nf
214225f Jamozed 2020-06-28 00:01:03
51
Copyright (C) 2020, Jakob Wakeling
e2140ec Jamozed 2022-03-06 15:27:45
52
MIT Licence (https://opensource.org/licenses/MIT)
214225f Jamozed 2020-06-28 00:01:03
53
.fi
54