[e95d78]: / examples / mitdb / download.sh

Download this file

18 lines (16 with data), 364 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/bin/bash
# For more info about the data visit
# https://physionet.org/physiobank/database/mitdb/
# and
# https://physionet.org/physiobank/database/html/mitdbdir/mitdbdir.htm
path=$1
mkdir $path
cd $path
url=https://physionet.org/physiobank/database/mitdb/
for i in {100..234}
do
for ext in 'hea' 'dat' 'atr'
do
wget $url/$i.$ext
done
done