A modified version of rm-protection (https://pypi.org/project/rm-protection/) with some new implementation. Mainly for myself.
A modified version of the rm protection
Added ability to setup protection for multiple files and directories with one profile.
protect + file_names... to protect files and
protect -R + paths to protect all files under certain directorys.
remember to run following commands to prevent access to rm
alias rm='rm-p -i'
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size protect_rm-0.1.2-py3-none-any.whl (5.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size protect-rm-0.1.2.tar.gz (3.4 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for protect_rm-0.1.2-py3-none-any.whl