Added loop script which I had always wanted before.

This commit is contained in:
Cas Cremers 2008-03-26 13:53:08 +01:00
parent 630f6e9459
commit eb64f68968

12
scripts/loop-spdl.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
#
# Script to iterate over all .spdl files
#
# Usage:
#
# loop-spdl.sh command_to_iterate
#
CMD=$*
find .. -name '*.spdl' | xargs -n 1 $CMD