Skip to content

Instantly share code, notes, and snippets.

View alexargo's full-sized avatar

Alex Argo alexargo

  • A-Star Software
  • Cincinnati
View GitHub Profile
@jonathanpenn
jonathanpenn / diffdir
Created October 13, 2011 13:25
A directory diff'ing script written using Unix magic piping files through `md5` to compare their contents.
#!/bin/bash
# In honor of Dennis Ritchie, I present my directory diff'ing
# script built on the piping magic of Unix.
#
# Usage: diffdir dir1 dir2
set -e # Bomb out of the script on any errors
diff_directories() {