Committed to Code

Tool intended to prevent the accidental deletion of important files by replacing /bin/rm with a wrapper, which checks the given arguments against a configurable blacklist of files and directories that should never be removed.

Users who attempt to delete one of these protected files or directories will not be able to do so and will be shown a warning message instead.

Protected paths can be set both at the site and user levels.

This project is managed by Francois Marier.

Project Tags Tagged as safety delete perl wrapper prevention rm

Code Analysis


News

Contributing your list of protected paths to safe-rm

Removal of a perl dependency in 0.8

CDPATH-related fix in safe-rm 0.7

safe-rm 0.6 no longer protects symlinks

Wildcards in safe-rm 0.5

Read all safe-rm articles…

Edit RSS feeds.