Penguin
Annotated edit history of touch(1) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 TOUCH
2 !!!TOUCH
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 AUTHOR
7 REPORTING BUGS
8 COPYRIGHT
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 touch - change file timestamps
15 !!SYNOPSIS
16
17
18 __touch__ [[''OPTION'']... ''FILE''...__
19 touch__ [[''-acm''] ''MMDDhhmm''[[''YY'']
20 ''FILE''... ''(obsolescent)''
21 !!DESCRIPTION
22
23
24 Update the access and modification times of each FILE to the
25 current time.
26
27
28 __-a__
29
30
31 change only the access time
32
33
34 __-c__, __--no-create__
35
36
37 do not create any files
38
39
40 __-d__, __--date__=''STRING''
41
42
43 parse STRING and use it instead of current time
44
45
46 __-f__
47
48
49 (ignored)
50
51
52 __-m__
53
54
55 change only the modification time
56
57
58 __-r__, __--reference__=''FILE''
59
60
61 use this file's times instead of current time
62
63
64 __-t__ STAMP
65
66
67 use [[[[CC]YY]MMDDhhmm[[.ss] instead of current
68 time
69
70
71 __--time__=''WORD''
72
73
74 set time given by WORD: access atime use (same as __-a__)
75 modify mtime (same as __-m__)
76
77
78 __--help__
79
80
81 display this help and exit
82
83
84 __--version__
85
86
87 output version information and exit
88
89
90 Note that the three time-date formats recognized for the
91 __-d__ and __-t__ options and for the obsolescent
92 argument are all different.
93 !!AUTHOR
94
95
96 Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David
2 perry 97 !MacKenzie, and Randy Smith.
1 perry 98 !!REPORTING BUGS
99
100
101 Report bugs to
102 !!COPYRIGHT
103
104
105 Copyright 2001 Free Software Foundation, Inc.
106 This is free software; see the source for copying
107 conditions. There is NO warranty; not even for
108 MERCHANTABILITY or FITNESS FOR A PARTICULAR
109 PURPOSE.
110 !!SEE ALSO
111
112
113 The full documentation for __touch__ is maintained as a
114 Texinfo manual. If the __info__ and __touch__ programs
115 are properly installed at your site, the
116 command
117
118
119 __info touch__
120
121
122 should give you access to the complete manual.
123 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.