Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
a one-liner to fetch the latest revisions of /boot/*.{elf,dat} in the RPi firmware repository (because it's a 14GB repo and cloning takes forever, and we're only interested in ~20MB of data)
wget $( wget -qO - | perl -nE 'chomp; next unless /[.](elf|dat)/; s/.*href="([^"]+)".*/$1/; s/blob/raw/; say qq{$_}' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment