Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pbrisbin/pacruft
- Owner: pbrisbin
- Created: 2011-03-28T00:38:59.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-01-09T00:25:47.000Z (almost 11 years ago)
- Last Synced: 2024-10-09T09:43:03.758Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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