X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman1%2Fdu.1;h=6219f5cd8f0392a735f6dedc9ccae43880035306;hb=fa998df4f39c40d5f55b25367c105ab29a75b98c;hp=66e4026b3717d3a7fe778990d200d46d9f1454df;hpb=f5b7a90d2b5a64f2612eb415fb630c6f91fdce94;p=linuxjm%2Fcoreutils.git diff --git a/original/man1/du.1 b/original/man1/du.1 index 66e4026..6219f5c 100644 --- a/original/man1/du.1 +++ b/original/man1/du.1 @@ -1,20 +1,23 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35. -.TH DU "1" "October 2012" "GNU coreutils 8.20" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. +.TH DU "1" "January 2016" "GNU coreutils 8.25" "User Commands" .SH NAME du \- estimate file space usage .SH SYNOPSIS .B du -[\fIOPTION\fR]... [\fIFILE\fR]... +[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... .br .B du -[\fIOPTION\fR]... \fI--files0-from=F\fR +[\fI\,OPTION\/\fR]... \fI\,--files0-from=F\/\fR .SH DESCRIPTION .\" Add any additional description here .PP -Summarize disk usage of each FILE, recursively for directories. +Summarize disk usage of the set of FILEs, recursively for directories. .PP Mandatory arguments to long options are mandatory for short options too. .TP +\fB\-0\fR, \fB\-\-null\fR +end each output line with NUL, not newline +.TP \fB\-a\fR, \fB\-\-all\fR write counts for all files, not just directories .TP @@ -24,13 +27,13 @@ the apparent size is usually smaller, it may be larger due to holes in ('sparse') files, internal fragmentation, indirect blocks, and the like .TP -\fB\-B\fR, \fB\-\-block\-size\fR=\fISIZE\fR -scale sizes by SIZE before printing them. E.g., -\&'\-BM' prints sizes in units of 1,048,576 bytes. -See SIZE format below. +\fB\-B\fR, \fB\-\-block\-size\fR=\fI\,SIZE\/\fR +scale sizes by SIZE before printing them; e.g., +\&'\-BM' prints sizes in units of 1,048,576 bytes; +see SIZE format below .TP \fB\-b\fR, \fB\-\-bytes\fR -equivalent to '\-\-apparent\-size \fB\-\-block\-size\fR=\fI1\fR' +equivalent to '\-\-apparent\-size \fB\-\-block\-size\fR=\fI\,1\/\fR' .TP \fB\-c\fR, \fB\-\-total\fR produce a grand total @@ -39,10 +42,16 @@ produce a grand total dereference only symlinks that are listed on the command line .TP -\fB\-\-files0\-from\fR=\fIF\fR -summarize disk usage of the NUL\-terminated file -names specified in file F; -If F is \- then read names from standard input +\fB\-d\fR, \fB\-\-max\-depth\fR=\fI\,N\/\fR +print the total for a directory (or file, with \fB\-\-all\fR) +only if it is N or fewer levels below the command +line argument; \fB\-\-max\-depth\fR=\fI\,0\/\fR is the same as +\fB\-\-summarize\fR +.TP +\fB\-\-files0\-from\fR=\fI\,F\/\fR +summarize disk usage of the +NUL\-terminated file names specified in file F; +if F is \-, then read names from standard input .TP \fB\-H\fR equivalent to \fB\-\-dereference\-args\fR (\fB\-D\fR) @@ -50,60 +59,58 @@ equivalent to \fB\-\-dereference\-args\fR (\fB\-D\fR) \fB\-h\fR, \fB\-\-human\-readable\fR print sizes in human readable format (e.g., 1K 234M 2G) .TP -\fB\-\-si\fR -like \fB\-h\fR, but use powers of 1000 not 1024 +\fB\-\-inodes\fR +list inode usage information instead of block usage .TP \fB\-k\fR -like \fB\-\-block\-size\fR=\fI1K\fR +like \fB\-\-block\-size\fR=\fI\,1K\/\fR +.TP +\fB\-L\fR, \fB\-\-dereference\fR +dereference all symbolic links .TP \fB\-l\fR, \fB\-\-count\-links\fR count sizes many times if hard linked .TP \fB\-m\fR -like \fB\-\-block\-size\fR=\fI1M\fR -.TP -\fB\-L\fR, \fB\-\-dereference\fR -dereference all symbolic links +like \fB\-\-block\-size\fR=\fI\,1M\/\fR .TP \fB\-P\fR, \fB\-\-no\-dereference\fR don't follow any symbolic links (this is the default) .TP -\fB\-0\fR, \fB\-\-null\fR -end each output line with 0 byte rather than newline -.TP \fB\-S\fR, \fB\-\-separate\-dirs\fR -do not include size of subdirectories +for directories do not include size of subdirectories +.TP +\fB\-\-si\fR +like \fB\-h\fR, but use powers of 1000 not 1024 .TP \fB\-s\fR, \fB\-\-summarize\fR display only a total for each argument .TP -\fB\-x\fR, \fB\-\-one\-file\-system\fR -skip directories on different file systems -.TP -\fB\-X\fR, \fB\-\-exclude\-from\fR=\fIFILE\fR -exclude files that match any pattern in FILE -.TP -\fB\-\-exclude\fR=\fIPATTERN\fR -exclude files that match PATTERN -.TP -\fB\-d\fR, \fB\-\-max\-depth\fR=\fIN\fR -print the total for a directory (or file, with \fB\-\-all\fR) -only if it is N or fewer levels below the command -line argument; \fB\-\-max\-depth\fR=\fI0\fR is the same as -\fB\-\-summarize\fR +\fB\-t\fR, \fB\-\-threshold\fR=\fI\,SIZE\/\fR +exclude entries smaller than SIZE if positive, +or entries greater than SIZE if negative .TP \fB\-\-time\fR show time of the last modification of any file in the directory, or any of its subdirectories .TP -\fB\-\-time\fR=\fIWORD\fR +\fB\-\-time\fR=\fI\,WORD\/\fR show time as WORD instead of modification time: atime, access, use, ctime or status .TP -\fB\-\-time\-style\fR=\fISTYLE\fR -show times using style STYLE: -full\-iso, long\-iso, iso, +FORMAT -FORMAT is interpreted like 'date' +\fB\-\-time\-style\fR=\fI\,STYLE\/\fR +show times using STYLE, which can be: +full\-iso, long\-iso, iso, or +FORMAT; +FORMAT is interpreted like in 'date' +.TP +\fB\-X\fR, \fB\-\-exclude\-from\fR=\fI\,FILE\/\fR +exclude files that match any pattern in FILE +.TP +\fB\-\-exclude\fR=\fI\,PATTERN\/\fR +exclude files that match PATTERN +.TP +\fB\-x\fR, \fB\-\-one\-file\-system\fR +skip directories on different file systems .TP \fB\-\-help\fR display this help and exit @@ -115,8 +122,8 @@ Display values are in units of the first available SIZE from \fB\-\-block\-size\ and the DU_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables. Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set). .PP -SIZE is an integer and optional unit (example: 10M is 10*1024*1024). Units -are K, M, G, T, P, E, Z, Y (powers of 1024) or KB, MB, ... (powers of 1000). +The SIZE argument is an integer and optional unit (example: 10K is 10*1024). +Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000). .SH PATTERNS PATTERN is a shell pattern (not a regular expression). The pattern .BR ? @@ -140,28 +147,16 @@ itself). Written by Torbjorn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. .SH "REPORTING BUGS" -Report du bugs to bug\-coreutils@gnu.org -.br -GNU coreutils home page: -.br -General help using GNU software: +GNU coreutils online help: .br Report du translation bugs to .SH COPYRIGHT -Copyright \(co 2012 Free Software Foundation, Inc. +Copyright \(co 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" -The full documentation for -.B du -is maintained as a Texinfo manual. If the -.B info -and -.B du -programs are properly installed at your site, the command -.IP -.B info coreutils \(aqdu invocation\(aq -.PP -should give you access to the complete manual. +Full documentation at: +.br +or available locally via: info \(aq(coreutils) du invocation\(aq