GoPro video download shellscript

Nikolaus Gradwohl2017-03-25T12:20:31+00:00

I wrote a small shellscript to download the videos from a GoPro Camera to a linux Desktop. To make this work you need to connect your computer to the Wifi the gopro camera provides and then run the following shell script

#!/bin/bash
for i in `curl http://10.5.5.9:8080/videos/DCIM/100GOPRO/ | grep MP4 | sed 's/.*href="\([^\"]*\)".*/\1/'`; do

    curl http://10.5.5.9:8080$i > $(basename $i)
done

This script downloads all the mp4 files to the current folder. I've tested it with a HERO5 Black

GoPro

read more ...