#!/bin/bash DIR=$HOME"/Ham" echo "Downloading Amateur Archive from ISED website:" wget --report-speed=bits http://apc-cap.ic.gc.ca/datafiles/amateur_delim.zip -P $DIR echo echo "Unzipping archive:" cd $DIR unzip amateur_delim.zip echo "Renaming amateur_delim.txt to amateur_delim.csv" mv amateur_delim.txt amateur_delim.csv chmod 644 amateur_delim.csv echo "Deleting amateur_delim.zip, lisezmoi_amat_delim.txt, and readme_amat_delim.txt" rm amateur_delim.zip lisezmoi_amat_delim.txt readme_amat_delim.txt echo echo echo "Done. Note that the customer separator is: ;" echo