Giter Site home page Giter Site logo

dirp's Introduction

dirp

A Directory Pruner. This tool is a terminal UI app, written in Rust, that helps you remove unwanted clutter from your file system.

Usage

$ dirp ~

This command will open dirp on your home directory and display something similar to this.

The user can use the keyboard for various things.

    Up Arrow, p          - Move selection up.
    Down Arrow, n        - Move selection down.
    
    Left Arrow           - Show directory contents.
    Right Arrow          - Hide directory contents.
    f                    - Toggle directory contents.
    
    d, Delete, Backspace - Toggle selection for removal.
    
    x                    - Remove marked files, and exit program.
    q                    - Exit program.

NOTE: Nothing is removed from the file system until the user hits the 'x' key. A list of all marked files is then presented and the user is prompted to remove them or just exit.

NOTE: This tool doesn't delete anything. It moves all marked files into the system Trash directory.

Install

Mac

Run the following from a terminal to install cpr in /usr/local/bin.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/DavidHVernon/dirp/master/install.sh)"

Linux, WSL

Run the following from a terminal to install cpr in /usr/local/bin. (On some systems you might need to sudo this command.)

Coming soon...

Windows

Coming soon...

Build from Source

If you don't have rust installed: https://www.rust-lang.org/tools/install. Then...

$ cargo build --release
$ ./install-dev.sh

Author

David Vernon

Version History

  • 0.1.0
    • Initial release.

License

This project is licensed under the MIT License - see the license-mit.md file for details.

dirp's People

Contributors

davidhvernon avatar

Stargazers

 avatar

Watchers

 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.