Files
flight-certification/download-materials.sh

20 lines
735 B
Bash
Raw Normal View History

#!/bin/bash
set -e
mkdir -p materials
echo "Downloading Remote Pilot Study Guide..."
curl -L -o materials/remote_pilot_study_guide.pdf \
"https://www.faa.gov/sites/faa.gov/files/regulations_policies/handbooks_manuals/aviation/remote_pilot_study_guide.pdf"
echo "Downloading Testing Supplement (FAA-CT-8080-2H)..."
curl -L -o materials/testing_supplement_FAA-CT-8080-2H.pdf \
"https://www.faa.gov/sites/faa.gov/files/training_testing/testing/supplements/sport_rec_private_akts.pdf"
echo "Downloading UAG Sample Questions..."
curl -L -o materials/uag_sample_questions.pdf \
"https://www.faa.gov/sites/faa.gov/files/training_testing/testing/test_questions/uag_questions.pdf"
echo "Done. Files in materials/:"
ls -lh materials/