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 details)
Built Distribution
File details
Details for the file protect-rm-0.1.5.tar.gz
.
File metadata
- Download URL: protect-rm-0.1.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
96d522507919576879061b610b82ffc68ba7ddba79699b65791b5b85431386ef
|
|
MD5 |
35a6c12e12bec44bcede5005ef0f31b5
|
|
BLAKE2b-256 |
024eae0e34e9086dbdc4b108b0e2d2e02d457cc96f795c856f4bdefce0c48681
|
File details
Details for the file protect_rm-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: protect_rm-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e790794197676c2a6489b5e978375d56defb8ad6de03979bfe82a81e3a3d0904
|
|
MD5 |
b8d9932f47d869c1eefba68f2382fab1
|
|
BLAKE2b-256 |
086198d85cc8aac7d80067e0424a97382d375eb2d09960cd758a7dd4e9bdca1f
|