Skip to content

Instantly share code, notes, and snippets.

@obra
Created August 20, 2014 23:38
Show Gist options
  • Save obra/d2158fe793ec2c61bfcf to your computer and use it in GitHub Desktop.
Save obra/d2158fe793ec2c61bfcf to your computer and use it in GitHub Desktop.
A small script to prep kicad output to send to @seeedstudio
#!/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