all repos — dotfiles @ d3a9ccfea1adf289828b08ca9d2840397105e516

linux dotfiles

bin/scripts/get-memes

1 2 3 4 5 6
#!/usr/bin/bash

memepath=$HOME/pictures/memes

wget --quiet reddit.com/r/memes.json -O -| jq '.data.children[] |.data.url' |\
    grep -E 'jpg|png"$' | xargs wget --quiet -P "$memepath"