epicyon/scripts/architecture

13 lines
220 B
Plaintext
Raw Permalink Normal View History

2021-06-28 09:35:48 +00:00
#!/bin/bash
if [ ! -d architecture ]; then
mkdir architecture
fi
FILES="*.dot"
for f in $FILES
do
img_filename=$(echo ${f} | awk -F '.' '{print $1}').png
dot "$f" -Tpng -o architecture/${img_filename}
done