Skip to content

Commit

Permalink
3.0.1: README.md: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelzhang committed Dec 13, 2024
1 parent 80b74d2 commit c0f938d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ $ safe-rm -rf /path/to
To keep the performance of `safe-rm` and avoid conducting unnecessary file system traversing, this would not prevent `/path/to/be/protected/foo` from removing.

Pay **ATTENTION** that:
- Before adding protected rules, i.e. placing the `.gitignore` inside the `"~/.safe-rm/"` directory, it requires `git` to be installed in your environment
- The protected rules file applies to the root directory (/), which This means that the patterns defined within it need to be relative to the root directory.
- Before adding protected rules, i.e. placing the `".gitignore"` inside the `"~/.safe-rm/"` directory, it requires `git` to be installed in your environment
- The `".gitignore"` patterns apply to the root directory (`"/"`), which means that the patterns defined within it need to be relative to the root directory.
- Avoid adding `/` in the protected rules file, or everything will be protected


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "safe-rm",
"version": "3.0.0",
"version": "3.0.1",
"description": "A much safer replacement of bash rm with nearly full functionalities and options of the rm command!",
"bin": {
"safe-rm": "./bin/rm.sh"
Expand Down

0 comments on commit c0f938d

Please sign in to comment.