caddy/errors/dl.sh

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 {}"'