caddy/errors/dl.sh

6 lines
156 B
Bash
Raw Normal View History

2021-08-21 17:18:23 -05:00
#!/bin/sh
mkdir -p img/
cd img/
curl https://http.cat | grep -oE '[0-9]{3}\.jpg' | sort | uniq | parallel $@ 'wget -q https://http.cat/{} && echo "DL {}"'