This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |