LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Deleting full directories? (https://www.linuxquestions.org/questions/linux-newbie-8/deleting-full-directories-66480/)

AekaGSR 06-18-2003 09:07 PM

Deleting full directories?
 
How do I remove directories that are full? I run "rmdir" and it fails with "directory is not empty"

How do i get around this?

contrasutra 06-18-2003 09:15 PM

rm -rf /foldername

r for RECURSIVE (everything in it)

and -f for do not promt for confirmation, this is optional I suppose.

fancypiper 06-18-2003 09:17 PM

also -R

see

man rm
info rm

AekaGSR 06-19-2003 07:54 AM

thanks, I guess I didnt know since I had no idea what recursive meant.

macewan 06-19-2003 05:41 PM

delete folder and everything in it.

fancypiper 06-19-2003 05:50 PM

recursive = keep on doing something until the job is finished.

http://www.m-w.com/cgi-bin/dictionary?va=recursive


All times are GMT -5. The time now is 01:48 AM.