Re: How to delete a large directory

Nate Bargmann <n0nb-k7QPB+T73Rh94W/[email protected]>
Newsgroups gmane.org.user-groups.aclug.linux-help
Organization Amateur Radio!
Message-ID <20030422011037.GG1347@localhost>
* bruce <[email protected]> [2003 Apr 21 19:58 -0500]:
> 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.

I think rm -rf dirname will do it.  I prefer working in  Midnight
Commander and pressing F8 on the directory you wish to remove and
answering yes to All will wipe out the files rather quickly as well.

- Nate >>

-- 
 Wireless | Amateur Radio Station N0NB          | "We have awakened a
 Internet | n0nb-k7QPB+T73Rh94W/[email protected]               | sleeping giant and
 Location | Bremen, Kansas USA EM19ov           | have instilled in him
  Amateur radio exams; ham radio; Linux info @  | a terrible resolve".
             http://www.qsl.net/n0nb/           | - Admiral Yamamoto
-- 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.