On 11/27/2013 09:45 AM, David Hahn wrote: > On 11/26/2013 9:47 PM, Gerald Waugh wrote: >> #!/bin/csh >> # >> # Loop through and remove all vsites while I am drinking a beer or two >> # >> foreach site( `ls /home/sites/` ) >> /usr/sbin/cdelvsite --fqdn $site >> sleep 1 >> end > I like that..
Yes, Just used it on a server that had a botched migration, then the next migration worked OK. Better than using the GUI and waiting for each site to be deleted so you can delete the next one. I like csh for shell scripting.
_______________________________________________ Blueonyx mailing list [email protected] http://mail.blueonyx.it/mailman/listinfo/blueonyx
