Path to this page:
./
sysutils/agedu,
Utility for tracking down wasted disk space
Branch: pkgsrc-2017Q4,
Version: 20160920.853cea9,
Package name: agedu-20160920.853cea9,
Maintainer: pkgsrc-usersSuppose you're running low on disk space. You need to free some up, by finding
something that's a waste of space and deleting it (or moving it to an archive
medium). How do you find the right stuff to delete, that saves you the maximum
space at the cost of minimum inconvenience?
Unix provides the standard du utility, which scans your disk and tells you which
directories contain the largest amounts of data. That can help you narrow your
search to the things most worth deleting.
However, that only tells you what's big. What you really want to know is what's
too big. By itself, du won't let you distinguish between data that's big because
you're doing something that needs it to be big, and data that's big because you
unpacked it once and forgot about it.
Most Unix file systems, in their default mode, helpfully record when a file was
last accessed. Not just when it was written or modified, but when it was even
read. So if you generated a large amount of data years ago, forgot to clean it
up, and have never used it since, then it ought in principle to be possible to
use those last-access time stamps to tell the difference between that and a
large amount of data you're still using regularly.
agedu does same disk scan as du, but also records the last-access times of
everything. Then it builds an index that lets it efficiently generate reports
giving a summary of the results for each subdirectory.
Master sites:
SHA1: 29577771d36f8cc4537f7564ac521f5dfc082b72
RMD160: 476d76503022b02578b6b152a033b3372a330187
Filesize: 172.62 KB
Version history: (Expand)
- (2018-01-02) Package added to pkgsrc.se, version agedu-20160920.853cea9 (created)