models/download-stanford
author Radek Brich <radek.brich@devl.cz>
Tue, 26 Jul 2016 18:19:37 +0200
branchpyrit
changeset 104 2274a07510c1
parent 103 3b3257a410fe
permissions -rwxr-xr-x
Cleanup, dropped Windows support

#!/bin/sh

mkdir -p "$1"
cd "$1"

curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz'
tar xzf bunny.tar.gz
rm bunny.tar.gz
rm -rf bunny/data
mv bunny/reconstruction/* bunny
rmdir bunny/reconstruction

curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz'
tar xzf happy_recon.tar.gz
rm happy_recon.tar.gz
mv happy_recon happy

curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz'
tar xzf dragon_recon.tar.gz
rm dragon_recon.tar.gz
mv dragon_recon dragon