Skip to content

Instantly share code, notes, and snippets.

@josquin-research-project
josquin-research-project / manual score downloads with curl
Created December 30, 2013 04:37
Bash script which can download scores of all composers using curl. First verify that you are using a bash shell by typing "echo $SHELL" in the terminal. It should reply with "/usr/bin/bash". Next, verify that you have curl installed on your by typing "which curl". The reply should be something like "/usr/bin/curl".
#!/usr/bin/bash
curl -L https://github.com/josquin-research-project/jrp-scores/archive/master.zip > master.zip
unzip master.zip
rm master.zip
mv jrp-scores-master jrp-scores
cd jrp-scores
rm .gitignore .gitmodules .note
for i in [A-Z]??
do
@josquin-research-project
josquin-research-project / manual score downloads with wget
Created December 30, 2013 04:27
Bash script which can download scores of all composers using wget. First verify that you are using a bash shell by typing "echo $SHELL" in the terminal. It should reply with "/usr/bin/bash". Next, verify that you have wget installed on your computer (typically Linux computers have it installed by default but OS X computers do not). Type: "which …
#!/usr/bin/bash
wget https://github.com/josquin-research-project/jrp-scores/archive/master.zip
unzip master.zip
rm master.zip
mv jrp-scores-master jrp-scores
cd jrp-scores
rm .gitignore .gitmodules .note
for i in [A-Z]??
do