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.
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'
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.4.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for protect_rm-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e289e67ab801aa5ab65c6409bbab8cd80540ebda49b42acba793a9ec3fde32 |
|
MD5 | 268334a0c7781e59b448c3efc599687f |
|
BLAKE2b-256 | 472f2cb7024f0a3283d821e862893bb94eeed9c8e709bbc19e4cac8e8082805f |