15 lines
352 B
Bash
Executable File
15 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
SRCDIR="$(readlink -f "$(dirname "$0")" )"
|
|
|
|
prettify() {
|
|
while IFS=$SEP read -r title torrent time; do
|
|
echo -E "$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
|
|
exit ${PIPESTATUS[0]}
|