#!/bin/bash -ex # # helper script to put things into place # 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/ bzip2 -v -9 data/{pij,dxf,stl,csv}/$1.*