Skip to main content

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.

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.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

protect_rm-0.1.1-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page