Complete.Org: Mailing Lists: Archives: linux-help: April 2003:
[linux-help] Re: How to delete a large directory
Home

[linux-help] Re: How to delete a large directory

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: How to delete a large directory
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Mon, 21 Apr 2003 20:09:00 -0500
Reply-to: linux-help@xxxxxxxxx

That's not the normal rm behavior, but some distributions do force that on
you.

Try rm -rf dirname.  That means "I *REALLY* mean it", so be careful :-)

On Mon, Apr 21, 2003 at 07:56:14PM -0500, bruce wrote:
> I wish to delete a large directory that contains 263 directories and 
> 1400+ files.  
>  rm  -r   *  asks if I want to descend into each subdirectory and then 
> asks if I want to remove a file or a directory.  I would have to answer 
> "y" 2000 times.
> 
> rmdir tells me that the directories are not empty.
> 
> There has to be an easy way to do this, but I can't find it.
> 
> Any help?
> bruce
> -- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
> 
-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]