Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pbrisbin/pacruft

Print packages whose files have not been accessed in a while
https://github.com/pbrisbin/pacruft

Last synced: about 2 months ago
JSON representation

Print packages whose files have not been accessed in a while

Awesome Lists containing this project

README

        

# Pacruft

Print packages whose files have not been accessed in over 6 months (or
some arbitrary time).

This list is meant to be a best-guess indication of packages which you
seldom use and could probably do without.

### Usage

Usage: pacruft [options]
-y, --years
-m, --months
-d, --days
-h, --help

### Example output

$ pacruft
bar
bmpanel
chkrootkit
gmrun
gtk1-engines
gtk-rezlooks-engine
gtk-smooth-engine
libvisual-plugins
qingy-theme-arch
rpmextract
uudeview

### Notes

A 6 month threshold is the default if no options are passed. One month
is represented simplistically as exactly 30 days.

Multiple options will sum, so `pacruft -m 6 -d 15` would show packages
not accessed in the past 195 days (`[ 30 * 6 ] + 15`).

If *any* options are passed, the 6 month default is disabled, so
`pacruft -d 15` would only represent a 15 day threshold.

Some packages own files unreadable by an unprivileged user. These files
are ignored and the package is evaluated as if the unreadable file(s)
didn't exist. Additionally, a package with no readable files will never
appear as old.

This script only performs reads, so it's *probably* safe to run as root
to get the most accurate listing.

### Installation

gem install bundler
git clone http://github.com/pbrisbin/pacruft && cd pacruft
bundle install
rake install