A "rm-trash" is meant to be used in place of rm system command in linux . This script will safely delete your files and put them in the trash for later retrieval.
Why do you think that https://github.com/icyphox/crap is a good alternative to rm-trash