RE: Re: Scripting Additions: Embracing the Horror of Unix
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/ .