Archive for June 22nd, 2012

Count files in all subdirectories, by directory

By jbayer - Last updated: Friday, June 22, 2012

This is a quickie. I had a need to see how many files were in each directory (not including files in directories underneath) This little script will do just that, and save the output in a file called “b.csv” (I was lazy).  The file will be formatted as a comma separated csv, which you can load into […]


CF-Engine 3 Installation

By jbayer - Last updated: Friday, June 22, 2012

We are starting to use CF-Engine 3.  I didn’t find any RPMs for CentOS that I liked, so I whipped up the attached script to download, compile and install CF-engine 3 for me. This was developed and tested on a CentOS 6.2 system.  It should work on RHEL6, SL6, and probably all the RHEL5 based […]