caddy/errors/dl.sh

6 lines
156 B
Bash
Executable File

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