← Back to tools

Brash

Move and restore items from the XDG trash, written in pure Bash

File Management linux Shell MIT

Description

Brash is a tool to move and restore items from the XDG trash. It is written in pure Bash and provides a safe alternative to rm by moving files to the trash instead of permanently deleting them.

AI Summary

A pure Bash tool for safely moving files to XDG trash and restoring them.

Capabilities

  • + Move files to XDG trash instead of deleting
  • + Restore trashed files
  • + Safe alternative to rm
  • + Pure Bash with no dependencies

Use When

  • You want a safe rm replacement
  • You need to recover accidentally deleted files

Avoid When

  • x You use macOS (XDG trash may not apply)
  • x You need cross-platform trash support
View AGENTS.md for Brash