[BlueOnyx:04303] Re: Mass Delete of sites
Gerald Waugh
gwaugh at raqware.com
Sun Apr 18 21:46:44 -05 2010
On Sun, 2010-04-18 at 21:05 -0500, Chuck Tetlow wrote:
> If you truly want to delete ALL sites on a box, reloading would be the
> cleanest way to do it. That way, you've got a clean box to restart
> with.
>
> But if you don't want to reload the box, run the following command as
> root:
>
> for sites in `ls -1 /home/sites`; do /usr/sbin/cdelvsite -a $sites;
> done
>
Lets try that again as (all on one line and note the substitution of -n
for -a. ;)
for sites in `ls -1 /home/sites`; do /usr/sbin/cdelvsite -n $sites; done
Gerald
More information about the Blueonyx
mailing list