Backups often choke on huge directories. This page describes a relatively fast way of tracking down huge directories.
Usage is like:
- Also requires df-local - but only if you don't want to specify directories to search and my highest program for high speed even in huge filesystems.
- Also requires GNU find and GNU xargs, to get the quoting right. Without these, the script should just error out
|What we're doing
|The command we do it with
|Finding the largest 25 directories on the entire system (not including pseudo filesystems and remote filesystems like NFS volumes)
|Finding the largest 25 directories under the given list of directories (not traversing filesystem boundaries)
largest-dirs / $HOME ~other /var/tmp /export/home
Timestamp: 2024-03-01 12:49:04 PST
Back to Dan's tech tidbits
You can e-mail the author with questions or comments: