#!/bin/bash set -e curl https://download.open.fda.gov/other/nsde/other-nsde-0001-of-0003.json.zip > ./nsde_1.zip unzip ./nsde_1.zip rm ./nsde_1.zip curl https://download.open.fda.gov/other/nsde/other-nsde-0002-of-0003.json.zip > ./nsde_2.zip unzip ./nsde_2.zip rm ./nsde_2.zip curl https://download.open.fda.gov/other/nsde/other-nsde-0003-of-0003.json.zip > ./nsde_3.zip unzip ./nsde_3.zip rm ./nsde_3.zip