[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bittorrent



[Oops, l'envio a la llista]

la;

On Mon, Abril 29, 2013 20:58, Daniel Elias wrote:
> Hola:
>
> Un cop passada la festa, algú em podria ajudar a fer funcionar el
> Bittorrent desde Debian Wheezy? Li dono un magnet i es queda aturat. He
> estat remenant per Internet i no trobo el desllorigador.

No sabria que dir-te, jo faig servir rtorrent i no permet els
magnetolinks. Per això tinc aquest script (el vaig trobat per internet):
http://i283.photobucket.com/albums/kk286/carlesmu/avatar_anonymous_60x60.png

$  cat ~/bin/magnetlink2torrent.sh
#!/bin/bash
# cd ~/watch || exit    # set your watch directory here
[[ "$1" =~ xt=urn:btih:([^&/]+) ]] || exit
hashh=${BASH_REMATCH[1]}
if [[ "$1" =~ dn=([^&/]+) ]];then
  filename=${BASH_REMATCH[1]}
else
  filename=$hashh
fi
echo "Creating torrent:"
echo "        meta-$filename.torrent"
echo "d10:magnet-uri${#1}:${1}e" > "meta-$filename.torrent"


>
> Cordialment,
>
> --
> Daniel Elias
>
Salut…
-- 
Carles


Reply to: