Prune

Trimming excess files from your file tree.

Prune is packed as a ruby gem and available from rubygems.org. I expect that’s the way that most of you will choose to deploy and use prune. It’s the easiest way to try Prune:

$ gem install geoffreywiseman-prune
Fetching: minitar-0.5.3.gem (100%)
Fetching: geoffreywiseman-prune-1.2.0.gem (100%)
Successfully installed minitar-0.5.3
Successfully installed geoffreywiseman-prune-1.2.0
2 gems installed
Installing ri documentation for minitar-0.5.3...
Installing ri documentation for geoffreywiseman-prune-1.2.0...
Installing RDoc documentation for minitar-0.5.3...
Installing RDoc documentation for geoffreywiseman-prune-1.2.0...
$ prune --help
Usage: prune [options] folder
    -v, --verbose                    Prints much more frequently during execution about what it's doing.
    -d, --dry-run                    Categorizes files, but does not take any actions on them.
    -f, --force, --no-prompt         Will take action without asking permissions; useful for automation.
    -a, --archive-folder FOLDER      The folder in which archives should be stored; defaults to <folder>/../<folder-name>-archives.
        --no-archive                 Don't perform archival; typically if the files you're pruning are already compressed.
        --version                    Displays version information.
    -?, --help                       Shows quick help about using prune.

Prune is hosted on GitHub, or you can download a full ZIP archive of the repository.