Re: rm -rf and the trashcan
Re: rm -rf and the trashcan
- Subject: Re: rm -rf and the trashcan
- From: Gregory Weston <email@hidden>
- Date: Mon, 20 Jul 2009 19:14:13 -0400
Greg Shenaut wrote:
But it should be mentioned that defining a shell function to imitate
the Finder's trash functionality is not just « function rm { mv $*
~/.Trash ; } », because the Finder will modify filenames to avoid
overwriting the older contents of Trash.
And, of course, moving a file to the trash doesn't move it to a
different file system. The mv command offered certainly may.
G _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden