[Ti] how to delete items owned by root?

Tom R. no spam tr5374 at csc.albany.edu
Tue Nov 18 15:02:49 PST 2003


This thread seems to have been yesterday night, but it may still
be worth mentioning that you want to be very careful with
"rm -r <directory_name>".  Be sure you know clearly what
directory you are in and what directory you want to remove.  The
"-r" will remove *everything* in the named directory: *all* files,
*all* subdirectories, etc as well as the directory itself.  To
be on the safe side, you can use "rm -ir" instead, which will do
an interactive remove, in which you'll be given a chance to
think twice about each item before approving or disapproving its
permanent deletion (kindof like the provisional nature of the
Macintosh Trash can).  If you're used to thinking graphically,
Benn's suggestion of dragging the specific file(s) to the
terminal window is a good idea.

On Mon, 17 Nov 2003, Benn wrote:

> On Nov 17, 2003, at 6:35 PM, Chris Olson wrote:
> > 'sudo rm <filename>'  or if it's a directory you need to remove then
> > use 'sudo rm -r <directory_name>'
>
> Instead of typing the name or path, you can type the command followed
> by a space and drag the file from the finder to the terminal window.
> Be careful when deleting stuff from System though.



More information about the Titanium mailing list