[BlueOnyx:04295] Re: Mass Delete of sites

Abdul Rashid Abdullah webmaster at muntada.com
Sun Apr 18 11:16:50 -05 2010


Thanks Gerald!


On 4/18/10 8:55 AM, "Gerald Waugh" <gwaugh at raqware.com> wrote:

> 
> On Sun, 2010-04-18 at 07:44 -0400, Abdul Rashid Abdullah wrote:
>> Is it possible to do a mass delete of sites?  How would you do that?  Could
>> you mass delete ALL of the sites on a server and/or delete a list of sites?
> 
> Create sites.txt
>   ls /home/sites > sites.txt (edit if you want to save some sites)
> and then run: 
>   cat sites.txt |  while read a; do  /usr/sbin/cdelvsite -n $a ; done
> 
> it will delete sites you have in your sites.txt
> 
> Gerald
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list