Added loop script which I had always wanted before.
This commit is contained in:
parent
630f6e9459
commit
eb64f68968
12
scripts/loop-spdl.sh
Executable file
12
scripts/loop-spdl.sh
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user