caddy/errors/dl.sh
2021-11-09 02:15:57 +01:00

6 lines
159 B
Bash
Executable File

#!/bin/sh -x
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 {}"'