--- permalink: "/posts/{{categories}}/{{slug}}" title: The Best Way to Transfer GoPro Files with Linux categories: ["technology"] tags: ["gopro", "camera", "video", "download", "linux", "wireless"] layout: post.liquid is_draft: true --- Transferring files off of most cameras to a Linux computer isn't all that difficult. Normally I can rip out the SD card and transfer files or just use a USB data transfer of some kind. The exception is my GoPro Hero 4 Black. For 4th of July week I took a bunch of video with the GoPro, approximately 20 MP4 files, about 3GB each. The annoying thing about the GoPros USB interface is you need an app to download everything this way. The camera doesn't just show up as a USB device that you can mount. The GoPro does have a micro-SD card but I'm away from home and didn't have any dongles or adapters. The solution? GoPro cameras, after the Hero 3, can open up an ad-hoc wireless network that lets you browse the GoPros onboard files through an HTTP server. This means you can open your browser and scroll through the files on the camera at a intranet address, `10.5.5.9`, and download them one by one. Well if you have like two dozen videos on there it kinda sucks. > *Smiles warmly* So, I opened up the manual for `wget`. I'm sure you could get really fancy with some of the options but the only thing I cared about was downloading every single MP4 video off of the camera, automatically. I did not want to download any of the small video formats or actual HTML files. So here's what I did: ```sh $ wget --recursive --accept "*.MP4" http://10.5.5.9:8080/ ``` Now I've got a directory tree with all of my videos in it. And the best part is I didn't have to install the dinky GoPro app on my laptop. Hopefully this helps if you're looking for an easy way to migrate lots of footage without manually clicking through the web interface or installing additional software.