<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/27/2013 09:45 AM, David Hahn
      wrote:<br>
    </div>
    <blockquote cite="mid:529613B6.3040907@sb9.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 11/26/2013 9:47 PM, Gerald Waugh
        wrote:<br>
      </div>
      <blockquote cite="mid:52956B3D.9050108@frontstreetnetworks.com"
        type="cite"><tt><big>#!/bin/csh<br>
            #<br>
            # Loop through and remove all vsites while I am drinking a
            beer or two<br>
            #<br>
            foreach site( `ls /home/sites/` )<br>
                /usr/sbin/cdelvsite --fqdn $site<br>
                sleep 1<br>
            end</big></tt></blockquote>
      I like that..<br>
    </blockquote>
    <br>
    Yes, Just used it on a server that had a botched migration, then the
    next migration worked OK.<br>
    Better than using the GUI and waiting for each site to be deleted so
    you can delete the next one.<br>
    I like csh for shell scripting.<br>
    <br>
    <br>
  </body>
</html>