hexinteractive / BASH-Trash-Script

send files or directories to the Trash instead of deleting them with rm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I just wrote this BASH script for sending a file or directory to the Trash. It’s super basic and can only handle a single item at a time. I wrote it to mimic dragging and dropping a file into the Trash. I don’t like using rm because it provides to way to undo.

http://hexinteractive.net/blog/bash-trash-script/

About

send files or directories to the Trash instead of deleting them with rm


Languages

Language:Shell 100.0%