OSDN Git Service

GNU_coreutils: Add draft manpages.
[linuxjm/jm.git] / manual / GNU_coreutils / draft / man1 / du.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.4.
2 .TH DU "1" "2012年4月" "GNU coreutils" "ユーザーコマンド"
3 .SH 名前
4 du \- ファイルのディスク使用量を推定する
5 .SH 書式
6 .B du
7 [\fIOPTION\fR]... [\fIFILE\fR]...
8 .br
9 .B du
10 [\fIOPTION\fR]... \fI--files0-from=F\fR
11 .SH 説明
12 .\" Add any additional description here
13 .PP
14 各ファイルのディスク使用量を集計します。ディレクトリは再帰的に処理します。
15 .PP
16 長いオプションに必須の引数は短いオプションにも必須です。
17 .TP
18 \fB\-a\fR, \fB\-\-all\fR
19 write counts for all files, not just directories
20 .TP
21 \fB\-\-apparent\-size\fR
22 print apparent sizes, rather than disk usage; although
23 the apparent size is usually smaller, it may be
24 larger due to holes in ('sparse') files, internal
25 fragmentation, indirect blocks, and the like
26 .TP
27 \fB\-B\fR, \fB\-\-block\-size\fR=\fISIZE\fR
28 scale sizes by SIZE before printing them.  E.g.,
29 \&'\-BM' prints sizes in units of 1,048,576 bytes.
30 See SIZE format below.
31 .TP
32 \fB\-b\fR, \fB\-\-bytes\fR
33 equivalent to '\-\-apparent\-size \fB\-\-block\-size\fR=\fI1\fR'
34 .TP
35 \fB\-c\fR, \fB\-\-total\fR
36 produce a grand total
37 .TP
38 \fB\-D\fR, \fB\-\-dereference\-args\fR
39 dereference only symlinks that are listed on the
40 command line
41 .TP
42 \fB\-\-files0\-from\fR=\fIF\fR
43 F の中で指定された NUL で区切られた名前のファイルから
44 ディスク使用量を読み取る
45 F に \- が指定された場合標準入力から読み込む
46 .HP
47 \fB\-H\fR                    \fB\-\-dereference\-args\fR (\fB\-D\fR) と同様
48 .TP
49 \fB\-h\fR, \fB\-\-human\-readable\fR
50 人間が読みやすい形式でサイズを表示する (例: 1K 234M 2G)
51 .HP
52 \fB\-\-si\fR              \fB\-h\fR と同様だが、1024 倍ではなく 1000 倍の値を使用する
53 .HP
54 \fB\-k\fR                    \fB\-\-block\-size\fR=\fI1K\fR と同様
55 .TP
56 \fB\-l\fR, \fB\-\-count\-links\fR
57 ハードリンクされた場合その個数分サイズを数える
58 .HP
59 \fB\-m\fR                    \fB\-\-block\-size\fR=\fI1M\fR と同様
60 .TP
61 \fB\-L\fR, \fB\-\-dereference\fR
62 全てのシンボリックリンクをたどる
63 .TP
64 \fB\-P\fR, \fB\-\-no\-dereference\fR
65 シンボリックリンクをたどらない (デフォルト)
66 .TP
67 \fB\-0\fR, \fB\-\-null\fR
68 各出力行に対し改行のではなく値が 0 のバイトを使用する
69 .TP
70 \fB\-S\fR, \fB\-\-separate\-dirs\fR
71 子ディレクトリのサイズを含めない
72 .TP
73 \fB\-s\fR, \fB\-\-summarize\fR
74 各引数の合計容量のみ表示する
75 .TP
76 \fB\-x\fR, \fB\-\-one\-file\-system\fR
77 異なるファイルシステムにあるディレクトリをスキップする
78 .TP
79 \fB\-X\fR, \fB\-\-exclude\-from\fR=\fIFILE\fR
80 FILE 内に含まれるパターンに一致するファイルを含めない
81 .TP
82 \fB\-\-exclude\fR=\fIPATTERN\fR
83 PATTERN に一致するファイルを含めない
84 .TP
85 \fB\-d\fR, \fB\-\-max\-depth\fR=\fIN\fR
86 コマンドライン引数から数えて深さが N 以下ディレクトリ階層の
87 合計のみ表示する (\fB\-\-all\fR を指定した時はファイルも含める)。
88 \fB\-\-max\-depth\fR=\fI0\fR は \fB\-\-summarize\fR と等価になる
89 .TP
90 \fB\-\-time\fR
91 show time of the last modification of any file in the
92 directory, or any of its subdirectories
93 .TP
94 \fB\-\-time\fR=\fIWORD\fR
95 show time as WORD instead of modification time:
96 atime, access, use, ctime or status
97 .TP
98 \fB\-\-time\-style\fR=\fISTYLE\fR
99 show times using style STYLE:
100 full\-iso, long\-iso, iso, +FORMAT
101 FORMAT is interpreted like 'date'
102 .TP
103 \fB\-\-help\fR
104 この使い方を表示して終了する
105 .TP
106 \fB\-\-version\fR
107 バージョン情報を表示して終了する
108 .PP
109 \fB\-\-block\-size\fR で指定した SIZE, DU_BLOCK_SIZE, BLOCK_SIZE およびBLOCKSIZE 環境変数
110 のうち、最初に指定されているサイズ単位で値が表示されます。それ以外の場合、デフォ
111 ルトの単位は 1024 バイトになります (POSIXLY_CORRECT が設定されている場合 512 バ
112 イト)。
113 .PP
114 SIZE is an integer and optional unit (example: 10M is 10*1024*1024).  Units
115 are K, M, G, T, P, E, Z, Y (powers of 1024) or KB, MB, ... (powers of 1000).
116 .SH パターン
117 PATTERN は (正規表現ではなく) シェルのパス名指定パターンです。
118 パターン
119 .BR ?
120 は任意の 1 文字にマッチし、
121 .BR *
122 は (0 文字、1 文字、複数文字の) 任意の文字列にマッチします。
123 例えば、
124 .BR *.o
125 はファイル名が
126 .BR .o
127 で終わる全てのファイルにマッチします。
128 したがって、コマンド
129 .IP
130 .B du --exclude=\(aq*.o\(aq
131 .PP
132 では、名前が
133 .BR .o
134 で終わるファイルとサブディレクトリが全てスキップされます
135 (ファイル
136 .B .o
137 自身もスキップされます)。
138 .SH 作者
139 作者 Torbjörn Granlund、 David MacKenzie、 Paul Eggert、
140 および Jim Meyering。
141 .SH バグの報告
142 du のバグを発見した場合は bug\-coreutils@gnu.org に報告してください。
143 GNU coreutils のホームページ: <http://www.gnu.org/software/coreutils/>
144 GNU ソフトウェアを使用する際の一般的なヘルプ: <http://www.gnu.org/gethelp/>
145 du の翻訳に関するバグは <http://translationproject.org/team/ja.html> に連絡してください。
146 完全な文書を参照する場合は info coreutils 'du invocation' を実行してください。
147 .SH 著作権
148 Copyright \(co 2012 Free Software Foundation, Inc.
149 ライセンス GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
150 This is free software: you are free to change and redistribute it.
151 There is NO WARRANTY, to the extent permitted by law.
152 .SH 関連項目
153 .B du
154 の完全なマニュアルは Texinfo マニュアルとして整備されている。もし、
155 .B info
156 および
157 .B du
158 のプログラムが正しくインストールされているならば、コマンド
159 .IP
160 .B info du
161 .PP
162 を使用すると完全なマニュアルを読むことができるはずだ。