[plug] /Newbie - Removing non empty directories
Scott, Simon
Simon.Scott at SEALCORP.com.au
Tue May 23 11:20:06 WST 2000
rm -fR directory_name
Stay up hacking each weekend. Sleep is for the week.
> ------------------------------------------------------
> Simon Scott
> DBA
> Sealcorp Holdings Limited
> Perth, WA
> e-mail: simon.scott at sealcorp.com.au
> phone: 08 9265 5648
> ------------------------------------------------------
>
>
> -----Original Message-----
> From: Earnshaw, Mike [mailto:earnshawm at wa.switch.aust.com]
> Sent: Tuesday, 23 May 2000 11:11
> To: PLUG (E-mail)
> Subject: [plug] /Newbie - Removing non empty directories
>
>
> List,
>
> How do you remove non empty directories in Linux?
>
> I have tried:
>
> rmdir * --ignore-fail-on-non-empty
>
> and
>
> rmdir --ignore-fail-on-non-empty *
>
> also tried using specific directory names instead of *
>
> Neither worked. I appreciate the danger of -r, which I am
> **not** using.
>
> If I wanted to do this on a regular basis, typing in the
> above switches
> (assuming they worked) would be tedious (probably an
> intentional thing), can
> I set an alias up for this?
>
> Thanks
>
> --------------------------------------------------------------
> --------------
> Mike Earnshaw | "It don't mean a thing if | e-mail in header
> Computer Systems | you cain't get that Ping...." | Tel:
> +61 8 9256 1099
> Support | Duke Ellington, 1932 | Fax:
> +61 8 9256 1199
> --------------------------------------------------------------
> --------------
> Union Switch & Signal, 24 Bannick Court, Canning Vale, WA
> 6155, Australia
> --------------------------------------------------------------
> --------------
>
More information about the plug
mailing list