1 2 3 4 5 6 7 8 9
#!/bin/sh # $PostgreSQL$ if [ "$#" -eq 0 ] then APATH="." else APATH="$1" fi find $APATH -name '*.orig' -exec rm {} \;