all repos — dotfiles @ d3a9ccfea1adf289828b08ca9d2840397105e516

linux dotfiles

I have an exam to prepare for

and here I am, making changes to my meme-fetching script...
Prithu Goswami prithugoswami524@gmail.com
Tue, 24 Dec 2019 20:53:23 +0530
commit

d3a9ccfea1adf289828b08ca9d2840397105e516

parent

50b6aaff1b300026dbb9057d336732cc11ecf13d

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M bin/scripts/get-memesbin/scripts/get-memes

@@ -2,4 +2,5 @@ #!/usr/bin/bash

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