rm bin/transmission-list (unused)

This commit is contained in:
Henrik Lissner 2016-11-10 19:37:41 +01:00
parent 69f5e49923
commit 9bd47f4091

View file

@ -1,10 +0,0 @@
#!/usr/bin/env zsh
# Pretty print remote transmission torrents. Takes one argument: the server hostname/ip
local results
results=`transmission-remote "$1" -l | \
awk 'NR > 1 { s = ""; for (i = 10; i <= NF; i++) s = s $i " "; print $9 " | " s }' | \
sed '$d' | \
perl -pe 's/\s\[[a-zA-Z0-9]+\]\s/ /g'` && echo "$results" || echo "No torrents!"