> -----Original Message----- > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 14, 2003 4:06 PM > To: Ralf Hauser > Cc: [EMAIL PROTECTED] > Subject: Re: Move to Windows Recycle Bin instead of deleting > > > On Tue, 14 Jan 2003, Ralf Hauser wrote: > > > Is there a way to have the files moved to the windows > recycle bin from > > the cygwin shell window/command line? > > Yes. In your ~/.bashrc: > > RECYCLE_BIN_PATH="<location of your recycle bin>" > function rm() { mv "$@" "$RECYCLE_BIN_PATH" } > I would speculate that another problem with this is that if you view the recycling bin in explorer, then you will no see (or be able to restore) the cygwin files. Also, if you empty the bin using explorer, then you will likely leave all cygwin-moved files.
-Rolf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/