Metadata-Version: 2.1
Name: protect-rm
Version: 0.1.4
Summary: A modified version of rm-protection (https://pypi.org/project/rm-protection/) with some new implementation. Mainly for myself.
Home-page: UNKNOWN
Author: Sam Sheng
Author-email: sam_sheng@outlook.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: future

# protect-rm

A modified version of the rm protection

based on https://github.com/alanzchen/rm-protection

Added ability to setup protection for multiple files and directories with one profile.

use `protect + file_names...` to protect files and `protect -R + paths` to protect all files under certain directorys.

Following command is still under testing:
Change the /usr/bin/rm to rm_old

then you could change the rm-p to rm

remember to run following commands to prevent access to rm

```
alias rm='rm-p -i'
```

