No description
Find a file
2016-09-10 19:18:40 -07:00
src Renamed files preserve original extension 2016-09-10 18:57:04 -07:00
Cargo.toml Bump version 2016-09-10 19:18:40 -07:00
README.org Update README to reflect new rename 2016-09-10 19:18:03 -07:00

rip (Rm ImProved)

A safer, (eventually) more powerful rm written in Rust.

Deleted files get sent to the graveyard (/tmp/.graveyard). Their path is preserved, with all parent directories being created under the graveyard.

No data is overwritten. If files that share the same path are deleted, they will be moved as numbered backups.

If you want to put the graveyard somewhere else (like ~/.local/share/Trash), you could alias rip to rip --graveyard ~/.local/share/Trash. This can be a good idea because the graveyard is in /tmp by default, which can quickly fill up your RAM if /tmp is mounted as tmpfs. It's also slower than moving files within the same filesystem.

Installation

Get a binary release or clone the repository and run cargo build.

Usage

USAGE:
    rip [FLAGS] [OPTIONS] <SOURCE>...

FLAGS:
        --decompose    Permanently deletes (unlink) the entire graveyard
    -h, --help         Prints help information
    -s, --seance       List all objects in the graveyard that were sent from the current directory
    -V, --version      Prints version information

OPTIONS:
        --graveyard <graveyard>    Directory where deleted files go to rest

ARGS:
    <SOURCE>...    File or directory to remove

Why is there no --interactive option?

Asking for forgiveness is easier than asking for permission.