0
mirror of https://github.com/Aightech/CleverHand-hardware.git synced 2026-07-22 02:12:52 +00:00
Files
CleverHand-hardware/scripts/script.sh
2026-01-04 21:19:32 +00:00

13 lines
527 B
Bash
Executable File

# get all the .kicad_pro files in the current directory and its subdirectories to find each project folder
# then remove the name.kicad_pro and print each project folder path
l=`find -name "*.kicad_pro"`
# remove duplicates
l=`echo "$l" | sort -u`
# remove path with .kiri
l=`echo "$l" | grep -v '\.kiri/'`
l=`echo "$l" | grep -v 'PANEL'`
for li in $l; do
echo "$li"
kicad-cli jobset run --file jobs.kicad_jobset --output LDRendering "$li"
done
# kicad-cli jobset run --file jobs.kicad_jobset --output LDRendering "$li"