Root/bz

Source at commit f6ed3bf762b63b950cf801c9282101a818c0ff8e created 13 years 6 months ago.
By Werner Almesberger, solidify now stores the context of sessions in project description files.
1#!/bin/bash -ex
2#
3# helper script to put things into place
4#
5
6DATA="pij/$1.pij dxf/$1.dxf stl/$1.stl csv/$1.txt"
7
8cp $1.pij data/pij/
9cp $1.stl data/stl/
10mv $1.stl stl/
11mv $1.dxf data/dxf/
12mv $1.txt data/csv/
13mv $1.jpg data/jpg/
14( cd data && bzip2 -v -9 $DATA; )
15git add data/jpg/$1.jpg
16( cd data && for n in $DATA; do git add $n.bz2; done; )
17

Archive Download this file

Branches:
master



interactive