A modified version of rm-protection (https://pypi.org/project/rm-protection/) with some new implementation. Mainly for myself.
Project description
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.
Change the /usr/bin/rm to rm_old
then you could change the /usr/local/bin/rm-p to rm
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
protect-rm-0.1.5.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for protect_rm-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e790794197676c2a6489b5e978375d56defb8ad6de03979bfe82a81e3a3d0904 |
|
MD5 | b8d9932f47d869c1eefba68f2382fab1 |
|
BLAKE2b-256 | 086198d85cc8aac7d80067e0424a97382d375eb2d09960cd758a7dd4e9bdca1f |