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
--- 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
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
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
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
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
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"
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
/|\
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,
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
10 matches
Mail list logo