meow.sh/run

14 lines
327 B
Bash
Executable File

#!/usr/bin/env bash
SRCDIR="$(readlink -f "$(dirname "$0")" )"
prettify() {
while IFS=$SEP read -r title torrent time; do
echo "$title"$'\n'"dl:"$'\t'"$torrent"$'\n'"at:"$'\t'"$(date -d @"$time")"
done
}
. "$SRCDIR/meow.sh"
. config.sh
[ -e times.sh ] && { . times.sh; mv times.sh times.sh.old; }
runall | prettify