User:Kannix/GMapCatcher

From OpenStreetMap Wiki
Jump to navigation Jump to search
#!/bin/bash

miny="20"
maxy="25"
echo "miny: $miny"
echo "maxy: $maxy"
# http://wiki.bash-hackers.org/syntax/expansion/brace
eval echo {$miny..$maxy}

DIR="."
FILE="ruhr.kap"
NEWFILE="ruhr.png"
find $DIR -type d -empty -exec cp $FILE {}/$NEWFILE \;