Tcl Utility to remove sites

Clovertech Forums Read Only Archives Cloverleaf Tcl Library Tcl Utility to remove sites

  • Creator
    Topic
  • #47721
    Charlie Bursell
    Participant

      I have written a utility to aid in site removal.  I know this can be done from a GUI but I wanted a quick way to do it from the command line.

      The attached utility is called rmSite and is written in Tcl.  Place it in the $HCIROOT/contrib directory and give it permissions of 775 and owership of hci:staff and it should run right out of the box.

      It uses the environment variable QUOVADX_INSTALL_DIR to locate Tcl so if you are running pre-5.x, you may have to provide a path to Tcl.

      If you are on Windows, simply rename it to rmSite.htc and it should work fine.

      If you run it as: rmSite , and you have proper permissions for the site (and all files within that site), it will remove the site directory and the server.ini entry.

      Since the board will not accept files without extensions, if on Unix, remove .htc extention.  If on Windows, leave as is  ðŸ˜¥

      Charlie

    • The forum ‘Tcl Library’ is closed to new topics and replies.