---
name: agedu
version: 9723
origin: sysutils/agedu
comment: Unix utility for tracking down wasted disk space
arch: freebsd:10:x86:64
www: http://www.chiark.greenend.org.uk/~sgtatham/agedu/
maintainer: sunpoet@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- MIT
flatsize: 83542
desc: |
  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 is a program which does this. It does basically the same sort of disk scan
  as du, but it also records the last-access times of everything it scans. Then it
  builds an index that lets it efficiently generate reports giving a summary of
  the results for each subdirectory, and then it produces those reports on demand.

  WWW: http://www.chiark.greenend.org.uk/~sgtatham/agedu/
categories:
- sysutils
files:
  /usr/local/bin/agedu: 51db69b1ac00a114b9bfd65f323e040821e832212218f9d4f5e47bc46b30e4b6
  /usr/local/man/man1/agedu.1.gz: 9c584574c7d1f6182ef05b189fe9a94cc46015f58a8837cd5042acf5d0b30433
  /usr/local/share/licenses/agedu-9723/catalog.mk: b7d93018c86cf719b8eee371330d387aa7d7409ce2b5074ed52e2a41b8d37b08
  /usr/local/share/licenses/agedu-9723/LICENSE: 8a9617637463b68fc0584861100926c56e2af396c013024314c285549b9c9642
  /usr/local/share/licenses/agedu-9723/MIT: 3507caa9b70264bdbe49eff56f570238ee9294ead5d32982e642c249e3053bd4
directories:
  /usr/local/share/licenses/agedu-9723/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    #rmdir /usr/local/share/licenses 2>/dev/null || true
  post-deinstall: |
    cd /usr/local
