Re: How to delete a large directory

John Goerzen <[email protected]>
Newsgroups gmane.org.user-groups.aclug.linux-help
Message-ID <[email protected]>
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 [email protected] list.  To unsubscribe,
> visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
> 
-- This is the [email protected] list.  To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.