Gossamer Forum
Home : Products : Gossamer Links : Discussions :

how to unistall linksql

Quote Reply
how to unistall linksql
is there an easy way to uninstall linksql?
i messed up the first installtion so i had to install it again under a different dir and dat file so i need to uninstall the first one

Quote Reply
Re: how to unistall linksql In reply to
Guess, you need simply delete all the files in the directory you've specified in installation process.

Quote Reply
Re: how to unistall linksql In reply to
You can use the following codes to delete all files and directories at a time.
1. Save the following codes as "delete.cgi".
2. upload "delete.cgi" to another directory (a directory which is password protected is recommended).
3. run "delete.cgi" from the web.
4. delete "delete.cgi" from your server.-->important

#!/usr/local/bin/perl
# Caution: Be careful to set $directory right.
# Caution: It will delete everything in that directory.

$directory = "/path/to/LinksSQL";

use File::Path
print "Content-type: text/html\n\n";
print "Deleting All Files in $directory:<BR><BR>\n";
rmtree([$directory], 1, 1);
print "<BR><BR>All Done!\n";

Quote Reply
Re: how to unistall linksql In reply to
or use rm -r /path/ from telnet/ssh

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/