Skip to content
This repository has been archived by the owner on Sep 25, 2022. It is now read-only.
/ lslargest Public archive

Command line tool for listing the largest files in a directory.

License

Notifications You must be signed in to change notification settings

nluka/lslargest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lslargest

This project has been superseded and is now part of the fileutil project as the sizerank function.

lslargest is a command-line utility that displays a ranked list of the largest files in a directory. It was written as a utility for the development of Ctructure, but may be useful otherwise.

Usage

Command-line usage: <root> [<option> [<value>]]...

Option Shortcut Value Default Description
--version -v N/A N/A prints program version
--rank-limit -r [1, 1,000,000) 10 how many files to list
--max-size -m [1, UINTMAX_MAX] any max file size (in bytes) to consider
--extensions -e CSV all which file extensions to consider
--save -s pathname nil pathname of file to write output into
--console -c 0 | 1 N/A whether file rankings are printed to console

Code Style

This project follows my cpp-style-guide.