Skip to content

Instantly share code, notes, and snippets.

View juliowaissman's full-sized avatar
🇲🇽
dándole

Julio Waissman juliowaissman

🇲🇽
dándole
View GitHub Profile
@juliowaissman
juliowaissman / censo_2020.sh
Created February 1, 2021 20:11 — forked from diegovalle/censo_2020.sh
Download the shapefiles from the 2020 Mexican census
#!/usr/bin/env bash
####################################################
# Make sure `rename` is available on your system
####################################################
# Exit on error, undefined and prevent pipeline errors,
# use '|| true' on commands that intentionally exit non-zero
set -euo pipefail
# The directory from which the script is running
readonly LOCALDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
readonly TARGET_DIR="$LOCALDIR/censo2020"