safe-remove

Crates.iosafe-remove
lib.rssafe-remove
version0.1.2
created_at2025-01-19 08:38:20.616478+00
updated_at2025-01-21 03:13:52.057584+00
descriptionSafe Remove (srm): Move files to a safe location instead of deleting them immediately.
homepage
repositoryhttps://github.com/kjwsl/srm
max_upload_size
id1522681
size47,669
larpi (kjwsl)

documentation

README

SRM (Safely Remove)

[!CAUTION] I'm still working on this project, so it's not ready for use yet.

srm is a command-line program to delete files securely.

Motivation

The rm command is the most commonly used command to delete files in Unix-like operating systems. However, it's really easy to accidentally delete important files with it, and never be able to restore it.

srm is a safer alternative to rm that stores deleted files in a trash directory instead of deleting them permanently.

Roadmap

  • Basic functionality, like storing deleted files in a trash directory, restoring them, and deleting them permanently.
  • Implementing the -r option to delete directories recursively.
  • Daemon mode to monitor the trash directory and delete files permanently after a certain period of time.
Commit count: 34

cargo fmt