Re: [newbie] Removing a full directory via command line

2001-04-09 Thread Tim Holmes
Just because I can't help myself, RTFM! OPTIONS -d, --directory Remove directories with `unlink' instead of `rmdir', and don't require a directory to be empty before trying to unlink it. Only works for the super-user. Because unlinking a

Re: [newbie] Removing a full directory via command line

2001-04-08 Thread Dan
--- Andrew Iovannisci [EMAIL PROTECTED] wrote: Hi all, Is there a way to delete a non-empty directory via the command line without going through the trouble of removing every file and sub-directory first? -- Thanks, Andy Mandrake 7.2 KDE 2.1 kernal 2.2.17 Registered Linux

Re: [newbie] Removing a full directory via command line

2001-04-08 Thread Roger Sherman
On Sun, 8 Apr 2001, Dan wrote: --- Andrew Iovannisci [EMAIL PROTECTED] wrote: Hi all, Is there a way to delete a non-empty directory via the command line without going through the trouble of removing every file and sub-directory first? -- Thanks, Andy Mandrake

Re: [newbie] Removing a full directory via command line

2001-04-08 Thread Mark Weaver
Actually, I prefer rm -Rvf directory-name Mark On Sun, 8 Apr 2001, Roger Sherman wrote: On Sun, 8 Apr 2001, Dan wrote: --- Andrew Iovannisci [EMAIL PROTECTED] wrote: Hi all, Is there a way to delete a non-empty directory via the command line without going through

[newbie] Removing a full directory via command line

2001-04-07 Thread Andrew Iovannisci
Hi all, Is there a way to delete a non-empty directory via the command line without going through the trouble of removing every file and sub-directory first? -- Thanks, Andy Mandrake 7.2 KDE 2.1 kernal 2.2.17 Registered Linux User # 202836

Re: [newbie] Removing a full directory via command line

2001-04-07 Thread Jesse C. Chang
Andrew Iovannisci wrote: Is there a way to delete a non-empty directory via the command line without going through the trouble of removing every file and sub-directory first? rm -r directoryname Jesse -- !! Jesse C. Chang [EMAIL PROTECTED] [___] `|' "I have the simplest

Re: [newbie] Removing a full directory via command line

2001-04-07 Thread Andrew Iovannisci
On Saturday 07 April 2001 20:30, you wrote: Yeah, use rm - r directory name make sure that there is no alias for rm that asks for confirmation for deletion, otherwise if you delete a large directory structure, you will get to confirm lots and lots of files. Ahh, I have an alias rm="rm -i"

Re: [newbie] Removing a full directory via command line

2001-04-07 Thread Jesse C. Chang
Andrew Iovannisci wrote: Ahh, I have an alias rm="rm -i" that is forcing me to confirm the deletion of every file. So, how do I get rid of the alias? unalias rm Jesse -- !! Jesse C. Chang [EMAIL PROTECTED] [___] `|' "I have the simplest tastes. I am always /|\

Re: [newbie] Removing a full directory via command line

2001-04-07 Thread Digital Wokan
Prefix it with a backslash. That overrides aliases. \rm -r /home (just kidding about the /home part) Andrew Iovannisci wrote: Ahh, I have an alias rm="rm -i" that is forcing me to confirm the deletion of every file. So, how do I get rid of the alias? -- Thanks, Andy -- Digital Wokan,

Re: [newbie] Removing a full directory via command line

2001-04-07 Thread Daniel J. Ferris
I think I sent that message to your real e-mail address instead of the list. Whoops. :-) Anyway... At the command line just type: unalias rm Then rm will no longer be aliased by the shell. Just please PLEASE remember never to run rm -r as root or you face the very real danger of trashing