• 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: Jamison Hope <email@hidden>
  • Date: Mon, 20 Jul 2009 13:14:23 -0400

On Jul 20, 2009, at 12:59 PM, Esteban Bodigami wrote:

...things change. empires fall, companies go bankrupt. people die, people are reborn... and you are saying that the rm command cann't change?

Yes, that is what we're saying. rm cannot change. As long as Apple wants to conform to the POSIX specification, rm must behave as described there:
http://www.unix.org/single_unix_specification/


If you want to create a new operating system in which rm moves files to a trash directory, time is counted in minutes since 1970, all function names are in Spanish, and nobody's shell scripts work because nothing in /bin behaves as expected, go for it. It just won't be Unix anymore.

2552/7/20 Clark Cox <email@hidden>
On Mon, Jul 20, 2009 at 4:55 AM, Esteban
Bodigami<email@hidden> wrote:
> there must be an equivalent command to "clean the trash can"; or it must be
> cleaned after log-off.
>
> the RM command must be a short-hand for something more like: MV (to)
> ~/.TrashCan


No, it mustn't. The rm command knows nothing of the trash on the Mac.

--
Clark S. Cox III
email@hidden



--
Esteban Giuseppe Bodigami Vincenzi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@theptrgroup.com


This email sent to email@hidden

-- Jamison Hope The PTR Group www.theptrgroup.com



_______________________________________________
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


  • Follow-Ups:
    • Re: rm -rf and the trashcan
      • From: Esteban Bodigami <email@hidden>
References: 
 >rm -rf and the trashcan (From: Esteban Bodigami <email@hidden>)
 >Re: rm -rf and the trashcan (From: Clark Cox <email@hidden>)
 >Re: rm -rf and the trashcan (From: Esteban Bodigami <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: Re: rm -rf and the trashcan
  • Index(es):
    • Date
    • Thread