Skip to content

Instantly share code, notes, and snippets.

Created August 27, 2009 01:12
Show Gist options
  • Save anonymous/175999 to your computer and use it in GitHub Desktop.
Save anonymous/175999 to your computer and use it in GitHub Desktop.
#!/bin/sh
SJS=$(find . -name "*.sj")
for SJ in $SJS; do
DIR=$(dirname $SJ)
find $DIR -depth 1 -name "*.j" -delete
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment