Search:
Login
Preferences
About Trac
Forgot your password?
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
Back to Ticket #1342
Ticket #1342
: addtorrent.sh
File addtorrent.sh,
179 bytes
(added by
shoveit
,
15 years ago
)
Add Magnet URI (less tracker info)
Line
1
#!/bin/bash
2
3
echo
"Add magnet hash:"
;
4
5
while
read
inputline
6
do
7
hash
=
`
echo
"
$inputline
"
|
sed -e
's/\(&tr\).*//'
`
8
deluge-console add
$hash
9
10
if
[
-z
"
${
what
}
"
]
;
11
then
12
exit
13
fi
14
15
done
Download in other formats:
Original Format