mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-25 02:25:53 +02:00
ae2f7aca9b
- added ben-dispbase-back-500um - bz: added "git add" of all the new files (untested) - index.html: renamed back from index.htm. The sneaky work-around only worked halfway.
17 lines
333 B
Bash
Executable File
17 lines
333 B
Bash
Executable File
#!/bin/bash -ex
|
|
#
|
|
# helper script to put things into place
|
|
#
|
|
|
|
DATA="pij/$1.pij.bz2 dxf/$1.dxf.bz2 stl/$1.stl.bz2 csv/$1.txt.bz2"
|
|
|
|
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 && gip add $DATA; )
|