24 lines
323 B
Bash
Executable File
24 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
|
|
BASEDIR=/tmp/eeschema-lib
|
|
|
|
CATEGORIES="lions tigers kitties"
|
|
|
|
PARTS="eyes ears feet"
|
|
|
|
REVS="rev1 rev5 rev10"
|
|
|
|
|
|
|
|
for C in ${CATEGORIES}; do
|
|
|
|
mkdir -p $BASEDIR/$C
|
|
|
|
for P in ${PARTS}; do
|
|
for R in ${REVS}; do
|
|
echo "#$R: (part $C/$P)" > $BASEDIR/$C/$P.part.$R
|
|
done
|
|
done
|
|
done
|
|
|