memecache-sync.sh (236B)
1 #!/bin/sh 2 # See LICENSE file for copyright and license details. 3 4 memes="$(curl -s gopher://bitreich.org/0/memecache/index.meme | cut -d' ' -f2)" 5 6 for i in $memes; do 7 if [ -f "$(basename "$i")" ]; then 8 continue 9 fi 10 curl -O "$i" 11 done