On Mon, 13 Jul 2009 10:49:15 -0700, Guy Gardoit wrote:

>Hmmm.  Makes me wonder if in Unix there is an "recycle bin" equivalent for
>the "rm" command.
>
mv -i some-file ~/.Trash/.  # (OS X)

o You _could_ alias "rm" to that.

o I _hate_ when admins do that in .profile.comon

o Be careful when:

  - A similarly named file is already in .Trash

  - some-file and .Trash are in different filesystems.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to