bigfiles

Section: User Commands (1)
Index Return to Main Contents
 

Name

bigfiles - list the largest files under these directories  

Syntax

bigfiles [-nn] [directory...]

 

Description

Bigfiles recursively scans directory for file sizes, keeping track of the biggest files. At the end of the scan, it wites the size and file names of the biggest 'nn' files.  

Arguments

-nn Limit the listing to the biggest nn files (100 is the default and maximum)

-s Restrict search to the same file system as first directory.

directory Examine these directories. Several may be specified. If no directories are specified, filenames are read from stdin. This allows input to be piped from a program such as find.  

Example

$ bigfiles -5 .
   1306624  ./ULTRIX/dxuil
    989488  ./ULTRIX/docclient
    372736  ./ULTRIX/xviewgl
    278528  ./ULTRIX/sc
    106470  ./sun4c/xanim
$ /bin/ls *~ | bigfiles
      3061  recent.c~
      2003  tree.c~
       962  ingwho~
       707  diskinfo~
       401  dstats~
       258  do_sum.c~
       248  rgrep~
        54  mif2txt~

 

See Also

stat(2)  

Environment

PATH=$PATH:/home/joppa/horton/bin/{HPPA,RISC}

MANPATH=$MANPATH:/home/joppa/horton/man  

Known Bugs

The switch handling doesn't allow piped filenames and a limit on the number of files reported.

Only regular files are considered.  

Author

David Horton - CiTR  

Copyright

Centre for Information Technology Research, 1993


 

Index

Name
Syntax
Description
Arguments
Example
See Also
Environment
Known Bugs
Author
Copyright

This document was created by man2html, using the manual pages.
Time: 23:34:46 GMT, September 27, 2019