Skip to main content

ai-trash

rm, but the file comes back.

A drop-in rm that moves files to the OS trash instead of destroying them, with the flags rm takes so nothing in a script has to change. It exists because an agent with a shell is one bad glob away from an unrecoverable afternoon, and the difference between a scare and a disaster is whether the file is still somewhere. Also on crates.io: cargo install ai-trash.

More from Quantum Encoding