#storage
21 solutions
du measures folder sizes; sorted through sort -rh and cut with head, it shows the top space consumers.
A quick PowerShell table of used and free gigabytes across every local and mapped drive.
Compress a whole directory tree into a single file with the built-in tar.
Add swap space without repartitioning by creating a /swapfile, formatting it with mkswap and enabling it with swapon.
Trim unused blocks on SSDs so writes stay fast and the drive wears evenly.
One-line disk usage breakdown of every folder one level deep.
Keep volatile folders like VM images and caches out of every backup.
See every local APFS Time Machine snapshot on your startup disk and delete ones you no longer need.
Mount a USB partition to /media with udisksctl mount, unmount it safely, and power off the drive for physical removal.
Quick reports of every LV and VG on the system with sizes, attributes and free space.
One PowerShell line showing drive letters, labels, filesystems and free space for every volume.
Save CPU and disk churn on drives you never search from Finder.