These little shell scripts give a unix shell equivalent of a
Macintosh/Windows-like "Trashcan" or "Dustbin".  Just copy the files

seecan can mtcan mtcan2

into your ~/bin directory (assuming ~/bin is in your path).  Examples of

  can file1 file2 directory3 pattern.*
# to put a list of files and directories into the trashcan

# to see the current contents of the trashcan (before emptying it)

# to permanently delete all of the files in the trashcan

Caution:  depending on how your environment is set up, moving a file to the
trashcan of the same name as an existing file in the trashcan may cause you
to lose the first file inthe trashcan.