Disk usage and file sizes
Calculate total disk usage / size for a folder
Ignore specified files and directories when calculating size
Show disk space usage and available space (-h makes the output human readable values)
Usage Examples
Find files under the root directory and below that are larger than 10 MB (optionally ignore .git
directories)
Format output when using GNU find
(Note: -printf
is not POSIX)
Show ten largest files and directories under current location
Calculate size of files in git repo (ignoring git directory)
Last updated