For those of you who have built your links pages and then had to change the file extension or something and have been left with lots of redundant pages, or if you have removed some categories and now have redundant directories, here is the simplest of scripts to remove them easily....
You can just set it up to remove the whole of your pages directory and then rebuild.
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
$path_to_pages = "/home/sites/site6/www/pages";
`rm -r $path_to_pages`;
print "All Done!";
BE CAREFUL with it.
This is just a simple solution for people who don't have telnet access or need a way to quickly remove all their pages/directories.
Paul Wilson.
Installations:
http://www.wiredon.net/gt/
You can just set it up to remove the whole of your pages directory and then rebuild.
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
$path_to_pages = "/home/sites/site6/www/pages";
`rm -r $path_to_pages`;
print "All Done!";
BE CAREFUL with it.
This is just a simple solution for people who don't have telnet access or need a way to quickly remove all their pages/directories.
Paul Wilson.
Installations:
http://www.wiredon.net/gt/