• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: rm -rf and the trashcan
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: rm -rf and the trashcan
  • Next by Date: Re: rm -rf and the trashcan
  • Previous by thread: Re: rm -rf and the trashcan
  • Next by thread: esteban bodigami
  • Index(es):
    • Date
    • Thread