File: touch.1

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (172 lines) | stat: -rw-r--r-- 5,110 bytes parent folder | download | duplicates (4)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
.\" Copyright Andries Brouwer, A. Wik 1998, Ragnar Hojland Espinosa 1998-2002
.\"
.\" Japanese Version Copyright (c) 1999 Kazuyuki Tanisako
.\"         all rights reserved.
.\" Translated Sun Aug 22 12:42 JST 1999
.\"         by Kazuyuki Tanisako
.\" Updated & Modified Sat Jan 17 15:13:21 JST 2004
.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
.\"
.\" This file may be copied under the conditions described
.\" in the LDP GENERAL PUBLIC LICENSE, Version 1, September 1998
.\" that should have been distributed together with this file.
.\" 
.\"WORD: timestamps		(Ƚ)
.\"WORD: access time		
.\"WORD: modification time	
.\"WORD: timezones		ॾ
.\"
.TH TOUCH 1 "18 June 2002" "GNU fileutils 4.1"
.SH "̾"
touch \- եΥȽѹ
.SH ""
.B touch
.BI "[\-acm][\-r " ref_file "|\-t " time "] " file...
.sp
Ȥʤʤ:
.br
.B touch
.BI "[\-acm][" ugly_time "] " file...
.sp
GNU :
.br
.B touch
.BI "[\-acfm] [\-r " file "] [\-t " time "]"
.BI "[\-d " time "] [\-\-time={atime,access,use,mtime,modify}] "
.BI "[\-\-date=" time "] [\-\-reference=" file "]"
.BI "[\-\-no-create] [\-\-help] [\-\-version] [\-\-] " file...
.SH ""
.B touch
ޥɤϻꤷ줾
.I file
ΥޤϤ줫ѹ롣

ä˻꤬ʤϸ߻ѹ롣
\-r ץȤä硢
.I ref_file
λȤѹ\-t ץȤäˤ
.I time
ǻꤷѹ롣

\-a  \-m ץΤꤷʤ
Ʊ˻ꤹξλ (Ƚ) ѹ롣
\-a  \-m ץΤ줫 1 Ĥꤹȡ
⤷ϽΤ줫Τߤѹ롣
ե뤬ޤ¸ߤʤϡ\-c ץ󤬻ꤵƤʤ¤ꡢ
(⡼ 0666  umask ǽˤơΥե) 롣
.SH "POSIX ץ"
.TP
.B \-a
.I file
ΥΤߤѹ롣
.TP
.B \-c
.I file
ʤ
.TP
.B \-m
.I file
νѹ롣
.TP
.BI "\-r " ref_file
.I ref_file
ǻꤷեλȤѹ롣
.TP
.BI "\-t " time
time ǻꤷȤѹ롣
ϼΤ褦Τʰ̣ 10 ʿηǻꤹ롣
.br
.nf
    [[CC]YY]MMDDhhmm[.SS]
.br
.fi
CC ꤷʤ硢ǯ CCYY  1969-2068 ϰϤȤʤ
(: YY=69-99 ξ CC=19YY=00-68 ξ CC=20 ȸ)
YY ꤷʤˤϡߤǯȤ롣
SS ꤷʤ硢0 ȤƸ롣
뤦ä򻲾ȤǤ褦 0-61 ϰϤǻǤ롣
̤λϴĶѿ TZ ˤꤵ줿ॾǤλȤʤ롣
̤λ郎 1970 ǯ 1  1 ˤʤä硢顼Ȥʤ롣
.SH "POSIX ܺ"
2 ܤηǤ
.I ugly_time
ʤΤեꤹʤΤϤäꤷʤȤ̤롣
\-r ⤷ \-t ץꤻʤƤ 2 Ĥΰꤷ
ǽΰ 8 ⤷ 10  10 ʿǤˤϻȤƸ
.I ugly_time
ν񼰤 MMDDhhmm[yy] ǡ
yy  69-99 ϰϤǻꤷ 1969 ǯ 1999 ǯ ɽ
yy ꤵʤϸߤǯɽ

ν񼰤ϺȤʤ
ߤǤ \fBtouch\fR ϡץΤʤ 8 ޤ 10 οΰ
\&'MMDDhhmm[YY]' Ȥ񼰤դǤϤʤե̾Ȥǧ롣
.SH "GNU ܺ"
ǽ
.I file

.B "\-t"
Фͭʰǡ
.BR "\-d" ,
.B "\-r"
ץǻꤷƤʤ硢
ޤ
.B "\-t"
ץ `--' ץ󤬻ꤵƤʤ硢
ΰϥե̾ȤƤǤϤʤ¾ΥեλȤƲᤵ롣
.PP
.B touch
ޥɤǥեΥ֤佤֤򸽺߻ѹ硢
¹Ԥ桼ϥեνͭԤǤʤƤ⡢
ΥեФ񤭹ߥɤ
ǤʤˤϡΥեνͭԤǤɬפ롣
.SH "GNU ץ"
.TP
.B "\-a, \-\-time=atime, \-\-time=access, \-\-time=use"
Τѹ롣
.TP
.B "\-c, \-\-no\-create"
ꤷե뤬¸ߤʤ硢ʤ
.TP
.BI "\-d, \-\-date=" time
߻ˡ
.I time
ǻꤷȤ
̾䡢ॾ`am'  `pm'ޤ뤳ȤǤ롣
.TP
.B "\-f"
̵뤵; BSD Ǥ
.BR touch (1)
ȤθߴΤѰդƤ롣
.TP
.B "\-m, \-\-time=mtime, \-\-time=modify"
Τߤѹ롣
.TP
.BI "\-r " file ", \-\-reference=" file
߻ˡѤ˻ꤷ
.I file
λȤ
.SH "GNU ɸ४ץ"
.TP
.B "\-\-help"
ɸϤ˻ˡΥåϤェλ롣
.TP
.B "\-\-version"
ɸϤ˥СϤェλ롣
.TP
.B "\-\-"
ץꥹȤλ롣
.SH "Ķѿ"
ѿ TZ ŪͿ줿᤹Τ˻Ȥ롣
ѿ LANG, LC_ALL, LC_CTYPE, LC_MESSAGES ̾ΰ̣ġ
.SH ""
POSIX 1003.2 Ǥ \-t ץΰν񼰤
GNU ǤμǻȤƤΤȤϰäƤ롣
.SH ""
ΥڡǤ fileutils-4.1 ѥåǤ
.B touch
ޥɤˤĤƤ롣
¾ΥСǤϾ㤤뤫⤷ʤ
ɲä aeb@cwi.nl, aw@mail1.bet1.puv.fi, ragnar@ragnar-hojland.com
Ƥ˥᡼ϢƤۤ
ץΥХˤĤƤ bug-fileutils@gnu.org 𤷤Ƥۤ