• 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: Re: Scripting Additions: Embracing the Horror of Unix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: Scripting Additions: Embracing the Horror of Unix


  • Subject: RE: Re: Scripting Additions: Embracing the Horror of Unix
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 31 Jan 2002 17:58:32 -0500

On 1/2/02 8:17 AM +1000, garbanzito, email@hidden, wrote:

>> i came to the conclusion that (pursuant to my general comments about the
>> different philosophies) it would be rather awkward to try to create single
>> shell-based handlers with all the capabilities of one of the OSAX commands.
>> personally, i would tackle it a task at a time rather than replicate Jon's
>> Commands.
>>
>OK, so I guess the biggest hole at the moment is some way to delete files
>without sending them to the Trash, to avoid filling up the Trash.

For directories:

rm -Rf YourDirectory

For files:

rm -f YourFile

The R switch means recursively and the f switch means without prompting whether you want to remove the files. I am not on my OSX box right now (I assuem these woudl be pretty similar for OSX [I got them from my Sun box]) so I can't remember if using rm -Rf will also remove the directory itself. It doesn't on Linux, does on Sun.

HTH,
Greg Strange


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


  • Follow-Ups:
    • RE: Re: Scripting Additions: Embracing the Horror of Unix
      • From: garbanzito <email@hidden>
  • Prev by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by Date: Re: URLAS cannot submit forms in OS X
  • Previous by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by thread: RE: Re: Scripting Additions: Embracing the Horror of Unix
  • Index(es):
    • Date
    • Thread