Script to scan directories and tag (macOS) indicating GoPro telemetry present.
- Exiftool (https://www.sno.phy.queensu.ca/~phil/exiftool/)
- Tag (Brew install tag)
tag -r GPMF $(exiftool -FileName -ext MP4 -if '$GPSPosition =~ / [E,W]/i' -T .) &&tag -a GPMF $(exiftool -FileName -ext MP4 -if '$GPSPosition =~ / [E,W]/i' -T .)
tag is used to add the string GPMF to the tags column in finder, this is fed by exif; ExifTool searches the current directory for MP4 file that have a GPSPosition containing ' E' or ' W' (a guaranteed string in a valid position), prints out only the filename in tabular form