Ta is a project mainly written in Perl, it's free.
A script to throw away files instead of notorious "rm"
ta: Using trashbox instead of dangerous `rm'
2007-2011 (C) Toshio Ito
ta is a simple Perl script that throws away files specified as arguments into a "trashbox". Since the thrown-away files are just moved, you can restore these files lator unlike the dangerous 'rm' command.
See the script itself for more information.