Files
gists/showgm.sh
Tobias Kessels b5a17f11bd added mutliple files
added docker_killall alias ; for killing all ontainers of an image
added flatpdf docker file ; container for secure pdf flattening
added flatpdf.sh ; script for pdf flattening using the flatpdf container
added showgm.sh ; opens google maps for exif geo location of picture
added showosm.sh ; opens open street map for exif geo location of picture
2019-04-18 22:38:13 +02:00

5 lines
217 B
Bash
Executable File

#!/bin/bash
picture="${1}"
url="https://www.google.com/maps/place/$(exiftool -ee -p '$gpslatitude, $gpslongitude' -c "%d?%d'%.2f"\" ${picture} 2> /dev/null | sed -e "s/ //g" -e "s/?/%C2%B0/g")"
firefox -p work "$url"