PDA

View Full Version : Deleting Alot of Files


kalidust
06-13-2005, 11:24 AM
I have some directories that have alot of files in it, and to remove the directory would be painstakingly long. Everytime I try "# rmdir (folder_name)" I always get the error that the directory isn't empty. Maybe there is a command I don't know about that can accomplish what I want to do, but I don't know one. Does anyone know of a command or a better way to do this?

--Dustin (kalidust's son :) )

charles
06-13-2005, 11:31 AM
Dustin, be careful with this one, but

# rm -rf folder_name

charles

kalidust
06-13-2005, 11:40 AM
Thanks Charles, that worked :)

I remembered some flags to add onto to it, but I didn't really remember. I try to not use that command too much :-P

Tomas
06-13-2005, 10:43 PM
You really... REALLY need to be careful with that command... it could bring your VPS to junk state :P