models/download-stanford
branchpyrit
changeset 103 3b3257a410fe
parent 102 de3e9ea18f56
equal deleted inserted replaced
102:de3e9ea18f56 103:3b3257a410fe
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 mkdir -p "$1"
     3 mkdir -p "$1"
     4 cd "$1"
     4 cd "$1"
     5 
     5 
     6 wget http://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz
     6 curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz'
     7 tar xzf bunny.tar.gz
     7 tar xzf bunny.tar.gz
     8 rm bunny.tar.gz
     8 rm bunny.tar.gz
     9 rm -rf bunny/data
     9 rm -rf bunny/data
    10 mv bunny/reconstruction/* bunny
    10 mv bunny/reconstruction/* bunny
    11 rmdir bunny/reconstruction
    11 rmdir bunny/reconstruction
    12 
    12 
    13 wget http://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz
    13 curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz'
    14 tar xzf happy_recon.tar.gz
    14 tar xzf happy_recon.tar.gz
    15 rm happy_recon.tar.gz
    15 rm happy_recon.tar.gz
    16 mv happy_recon happy
    16 mv happy_recon happy
    17 
    17 
    18 wget http://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz
    18 curl -O 'http://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz'
    19 tar xzf dragon_recon.tar.gz
    19 tar xzf dragon_recon.tar.gz
    20 rm dragon_recon.tar.gz
    20 rm dragon_recon.tar.gz
    21 mv dragon_recon dragon
    21 mv dragon_recon dragon