Skip to content

Instantly share code, notes, and snippets.

@respatialized
Created May 19, 2020 14:00
Show Gist options
  • Save respatialized/10f679384447c806030ca34312d588be to your computer and use it in GitHub Desktop.
Save respatialized/10f679384447c806030ca34312d588be to your computer and use it in GitHub Desktop.
Mount the working directory in a docker container.
while getopts "d:f:" opt; do
case $opt in
d) dir=$OPTARG ;;
f) format=$OPTARG ;;
*) echo 'error' >&2
exit 1
esac
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment