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.
Change the /usr/bin/rm to rm_old
then you could change the /usr/local/bin/rm-p to rm
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for protect_rm-0.1.5-py3-none-any.whl