#!/bin/bash cd "$(dirname "$(realpath "$0")")" if [ "$1" == "sync" ]; then cat urls | xargs -d '\n' curl -Z $(seq 1 $(wc -l