Search found 2 matches

by mhyst
Sun Dec 17, 2017 6:21 am
Forum: General
Topic: torrent id assignation policy
Replies: 1
Views: 3114

Re: torrent id assignation policy

So to explain it better: with this command I get the max value for ID:
transmission-remote 192.168.0.234:9091 --auth user:pass -l | awk -f filtro.awk

The awk program is very simple:
BEGIN {
max=0
}

{
if ($1 == "Sum:" || $1 == "ID")
next

if ($1 > max)
max=$1
}

END {
print max
}
by mhyst
Sun Dec 17, 2017 5:54 am
Forum: General
Topic: torrent id assignation policy
Replies: 1
Views: 3114

torrent id assignation policy

Hi!

I am not new on transmission, but I am new on this forum.
I am working in some scripts that communicate with transmission daemon through transmission-remote command. It works so far, so I'm not complaining about it. But for my current script (bash) I need a simple way to obtaining the id of the ...