Giter Club home page Giter Club logo

pacruft's Introduction

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  <years>
    -m, --months <months>
    -d, --days   <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

pacruft's People

Contributors

pbrisbin avatar

Stargazers

Philipp Schmitt avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.