Created
August 20, 2014 23:38
-
-
Save obra/d2158fe793ec2c61bfcf to your computer and use it in GitHub Desktop.
A small script to prep kicad output to send to @seeedstudio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pushd $1 | |
for i in *.drl; | |
do mv $i `basename $i drl`txt; | |
done | |
for i in *Edge_Cuts.gbr; | |
do mv $i `basename $i Edge_Cuts.gbr`Edge_Cuts.gko; | |
done | |
popd | |
zip -r `date +%Y-%m-%d-`$1.zip $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment