#! /bin/bash # Updates all copies of the module to the skeleton's version # # TODO: Would be nice if this did some input validation. for i in $( find . -type d -name "$1" -print | egrep -v "000-skeleton" ); do echo Processing $i... pushd $i update_from_skeleton popd done