tldr/pages/common/rip.md
Ethan Kinnear 337c1c06d0
rip: add page (#8121)
* rip: add page

* rip: change "arbitrary" to "specified"

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>

* rip: add "originally"

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>

* rip: change "undo" to "put back" and be clearer

* rip: change "all" to "every"

* rip: change "somewhere in" to "within"

* rip: change "files" to "files and directories"

* rip: use long version of `--decompose`

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* rip: use long version of `--inspect`

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* rip: use long version of `--seance`

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* rip: use long version of `--unbury`

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* rip: use long version of `--seance --unbury`

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

* rip: use long version of `rip --seance`

Co-authored-by: Axel Navarro <navarroaxel@gmail.com>

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
2022-06-26 15:32:42 +08:00

892 B

rip

Remove files or directories by sending them to the graveyard, allowing for them to be recovered. More information: https://github.com/nivekuil/rip.

  • Remove files or directories from specified locations and place them in the graveyard:

rip {{path/to/file_or_directory}} {{path/to/another/file_or_directory}}

  • Interactively remove files or directories, with a prompt before every removal:

rip --inspect {{path/to/file_or_directory}} {{path/to/another/file_or_directory}}

  • List all files and directories in the graveyard that were originally within the current directory:

rip --seance

  • Permanently delete every file and directory in the graveyard:

rip --decompose

  • Put back the files and directories which were affected by the most recent removal:

rip --unbury

  • Put back every file and directory that is listed by rip --seance:

rip --seance --unbury