rm-trash

    1.2.1 • Public • Published

    README

    NPM version NPM downloads

    rm-trash is a utility for safely remove (rm) files in Terminal.app of macOS.

    rm-trash

    INSTALL

    $ npm i rm-trash -g

    USAGE

    $ rm-trash file
    $ rm-trash dir
    $ rm-trash link

    Optional: set an alias to rm-trash for easier to use the commend.

    .zshrc or .bash_profile

    $ alias rm="rm-trash"

    p.s. The origin rm commend is /bin/rm.

    Configuration

    add ~/.rm-trash-ignore to direct remove files.

    Example:

    /node_modules
    

    Install

    npm i rm-trash

    DownloadsWeekly Downloads

    2

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    2.6 kB

    Total Files

    4

    Last publish

    Collaborators

    • hotoo