scripts/convert.sh
2023-12-30 19:52:53 -05:00

26 lines
600 B
Bash
Executable File

#!/bin/bash
for FILE in $(find . -name '*.l'); do
echo "$FILE"
/home/nbingham/workspace/broccoli/scripts/hspice2xyce $FILE > tmp
yes | mv tmp $FILE
done
for FILE in $(find . -name '*.inc'); do
echo "$FILE"
/home/nbingham/workspace/broccoli/scripts/hspice2xyce $FILE > tmp
yes | mv tmp $FILE
done
for FILE in $(find . -name '*.lib'); do
echo "$FILE"
/home/nbingham/workspace/broccoli/scripts/hspice2xyce $FILE > tmp
yes | mv tmp $FILE
done
for FILE in $(find . -name '*.spice'); do
echo "$FILE"
/home/nbingham/workspace/broccoli/scripts/hspice2xyce $FILE > tmp
yes | mv tmp $FILE
done