|
|
1.1 ! root 1: .TH BYTEYEARS 1 ! 2: .SH NAME ! 3: byteyears \- time-space product for file residency ! 4: .SH SYNOPSIS ! 5: .B byteyears ! 6: [ ! 7: .B \-a ! 8: ] ! 9: [ ! 10: .I file ! 11: ] ! 12: . . . ! 13: .SH DESCRIPTION ! 14: .I Byteyears ! 15: reports the product of the age of each ! 16: .I file ! 17: in years ! 18: and the length in bytes. ! 19: Files for which this number is large ! 20: may be reasonable candidates for deletion. ! 21: If the file is a directory, ! 22: .I byteyears ! 23: reports (recursively) on everything in that ! 24: directory. ! 25: If no arguments are given, the current directory is assumed. ! 26: If the ! 27: .B \-a ! 28: option is given, the time since last access ! 29: is used instead of the time since last modification. ! 30: .PP ! 31: Each line of output contains ! 32: the number of byte years (rounded to the nearest integer), ! 33: the size of the file in bytes, the time last ! 34: modified, and the name of the file. ! 35: .SH EXAMPLES ! 36: .TP ! 37: byteyears | sort \-r | sed 10q ! 38: List the ten leading candidates in the current directory.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.