OldScriptFinder: Documentation: Quick Questions

How do I set Old Script Finder to scan directories listed in Apache's httpd.conf?

This can be done with the --userhttpdconf option. Either on the command line:

$ oldscriptfinder --usehttpdconf --httpdconf=/usr/local/apache/conf/httpd.conf

Or in a config file:

[oldscripts]
usehttpdconf=1
httpdconf=/usr/local/apache/conf/httpd.conf

For full details, see the --httpdconf and --usehttpdconf options.

How do I make Old Script Finder produce a HTML report for my sysadmin?

Set the --htmlout argument/config file option. The parameter is the path to the file to be created. For example, on the command line:

$ oldscriptfinder --htmlout=/home/owner/www/report.html

Or in a config file:

[oldscripts]
htmlout=/home/owner/www/report.html

For full details, see the --htmlout option.

How do I make Old Script Finder send a report to my sysadmin by email?

Set the --emailout argument/config file option. The parameter is the email address to send the report to. For full details, see the --emailout option.

How do I just scan for a certain script?

Set the --just argument/config file option. The parameter is the name of the script to search for. For example, on the command line:

$ oldscriptfinder --just=coppermine

Or in a config file:

[oldscripts]
just=coppermine

The above would just scan for Coppermine.

How do I just scan a certain directory?

Run oldscriptfinder with the path to the directory as the argument. For example:

$ oldscriptfinder /home/someone/www

Or for the current directory:

$ oldscriptfinder .