|
12 | 12 |
|
13 | 13 | [](https://github.com/kaelzhang/shell-safe-rm/actions/workflows/nodejs.yml) |
14 | 14 |
|
15 | | -A much safer replacement of bash `rm` with **ALMOST FULL** features of the origin `rm` command. |
| 15 | +[Safe-rm][safe-rm], a much safer replacement of [`rm`][rm] with **ALMOST FULL** features of the origin [`rm`][rm] command. |
16 | 16 |
|
17 | 17 | The project was initially developed for Mac OS X, and then tested on Linux. |
18 | 18 |
|
19 | 19 | ## Features |
20 | 20 | - Supports both MacOS and Linux with full test coverage. |
21 | 21 | - Using `safe-rm`, the files or directories you choose to remove will be moved to the system Trash instead of simply deleting them. You could put them back whenever you want manually. |
22 | 22 | - On MacOS, `safe-rm` will use [AppleScript][applescript] to delete files or directories as much as possible to enable the built-in "put-back" capability in the system Trash bin. |
23 | | - - On Linux, t also follows the operating system's conventions for handling duplicate files in the Trash to avoid overwriting |
| 23 | + - On Linux, it also follows the operating system's conventions for handling duplicate files in the Trash to avoid overwriting |
24 | 24 | - Supports Custom [configurations](#configuration). |
25 | 25 |
|
26 | 26 | ## Supported options |
27 | 27 |
|
28 | | -For those implemented options, safe-rm will act **exactly the same** as the original `rm` command |
| 28 | +For those implemented options, safe-rm will act **exactly the same** as the original `rm` command: |
29 | 29 |
|
30 | 30 | | Option | Brief | Description | |
31 | 31 | | ------ | ----- | ------------ | |
@@ -136,3 +136,5 @@ alias="SAFE_RM_CONF=/path/to/safe-rm.conf safe-rm" |
136 | 136 |
|
137 | 137 |
|
138 | 138 | [applescript]: https://en.wikipedia.org/wiki/AppleScript |
| 139 | +[rm]: https://en.wikipedia.org/wiki/Rm_(Unix) |
| 140 | +[safe-rm]: https://github.com/kaelzhang/shell-safe-rm |
0 commit comments