View Single Post
Old 11-01-02, 02:28 PM   #5
de><ta
prodigy
 
de><ta's Avatar
 
Join Date: Jul 2002
Location: USA, NY
Posts: 1,100
Default

rmdir directory/* to get rid of all files and dir

rmdir -rf directory
or try
rmdir -rf directory/*
NOTE:i dont use this to often, it can be risky especially at cmd line level


unix and linux commands are all universal. So if u know unix cmd line scripting u can use that for linux cmd scripting too.

By the way out of curiousity what directory are u nuking?


cheers
dexta
__________________
IBM T60p | Intel Core 2 Duo T7200 | 2GB PC2-5300 | ATi M X1700 256MB | 100GB 7200rpm SATA

///m-powered | Intel i7 920 | EVGA x58 | 6GB DD3 1600 | EVGA GTX 285 SSC | 150GB VelociRaptor

Drag racing is for fast cars. Autocrossing is for fast drivers.

Last edited by de><ta; 11-01-02 at 02:31 PM.
de><ta is offline   Reply With Quote