mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-25 02:49:43 +02:00
32b314875a
- web/index.sh: ben-dispbase-back-100um has completed - web/index.sh: ben-bottom-nobat-100um is running - index.html: generated from latest index,sh - bz: path generation was all wrong
17 lines
343 B
Bash
Executable File
17 lines
343 B
Bash
Executable File
#!/bin/bash -ex
|
|
#
|
|
# helper script to put things into place
|
|
#
|
|
|
|
DATA="pij/$1.pij dxf/$1.dxf stl/$1.stl csv/$1.txt"
|
|
|
|
cp $1.pij data/pij/
|
|
cp $1.stl data/stl/
|
|
mv $1.stl stl/
|
|
mv $1.dxf data/dxf/
|
|
mv $1.txt data/csv/
|
|
mv $1.jpg data/jpg/
|
|
( cd data && bzip2 -v -9 $DATA; )
|
|
git add data/jpg/$1.jpg
|
|
( cd data && for n in $DATA; do git add $n.bz2; done; )
|