« Utility-Scripts »

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

Download from SourceForge

News

  • 2/4/2012 - phpOpenPlugins version 0.5.1 released.
  • 2/4/2012 - phpOpenFW version 1.1.1 released.
  • 12/27/2011 - phpOpenFW version 1.1.0 released.
  • 11/23/2011 - LWCMS version 0.8.0 released.
  • 11/10/2011 - phpOpenPlugins version 0.5.0 released.
  • 11/10/2011 - phpOpenFW version 1.0.9 released.
  • 11/8/2011 - LWCMS version 0.7.9 released.
  • 9/23/2011 - phpOpenFW version 1.0.8 released.
  • 9/1/2011 - phpOpenFW version 1.0.7 released.
  • 11/27/2010 - Site Common version 0.5.0 released.
  • 11/27/2010 - phpOpenFW version 1.0.6 released.
  • 11/9/2010 - LWCMS version 0.7.8 released.
  • 11/3/2010 - phpOpenFW version 1.0.5 released.
  • 10/27/2010 - phpOpenFW version 1.0.4 released.