Micro Tools
The Utility-Scripts package is a collection of useful scripts that I have written over the years. They are all written in PHP, and are meant to be used from a command line interface. Below is a list the scripts that are in the Utility-Scripts package and a brief synopsis of what each script does.
-
clean_dir.php -
Cleans a directory of unwanted '.*' and '._' files. Use the '-r' switch at the end to tell the script to clean recursively.
Usage: /usr/bin/php clean_dir.php [directory] [-r] -
csearch.php -
File content search script. Search a file, directory of files, or directory of files recursively for a pattern. Outputs results to an HTML file.
Usage: /usr/bin/php csearch.php -
dir_compare.php -
Directory comparison script. Prompts the user to specify two directories and and compares their contents to point out differences. Outputs results to an HTML file.
Usage: /usr/bin/php dir_compare.php -
file_search.php -
Search a directory for file names matching a pattern.
Usage: /usr/bin/php file_search.php
Latest Releases
News
- 7/18/2010 - phpOpenFW version 1.0.2 released.
- 7/18/2010 - LWCMS version 0.7.6 released.
- 5/20/2010 - phpOpenFW version 1.0.1 released.
- 4/12/2010 - phpOpenFW version 1.0 released.
- 4/12/2010 - LWCMS version 0.7.5 released.
- 4/12/2010 - Site Common version 0.2.5 released.
emonlade.net