GuardUtils
Tools
Install
About
View on Gitea
Toolbox
Pick the guardrail you need.
Each tool is focused, boring (in the good way), and designed to prevent expensive mistakes.
chguard
Snapshot and restore filesystem ownership & permissions.
Preview diffs before restore
Restore ownership only or permissions only
Wrapper mode for chmod/chown/chgrp
Docs
Repo
mirro
Safe editing wrapper: temp file, diff, backup only if changed.
Never edits the real file directly
Timestamped backups with origin header
Restore and built-in diff
Docs
Repo
resrm
rm replacement with undo/restore via a per-user trash.
Trash instead of permanent delete
Restore by short ID or basename
Auto-prune via RESRM_TRASH_LIFE
Docs
Repo
filedust
Autoremove for files: clean caches, build artifacts, editor junk.
Targets common junk safely (within $HOME)
Dry-run and a single confirmation prompt
Config via ~/.filedust.conf
Docs
Repo