[ale] Creating and Verifying Torrent Files?
James Sumners
james.sumners at gmail.com
Mon May 9 13:46:45 EDT 2011
Attached is a Python script (based on the one at [1]) that will read a
torrent file and write out some information about it. I wrote it
against the torrent at [2]. If you need to add more output to the
script, see [3] for information on the torrent file format.
To use the script, simply pass in the torrent file as the first
parameter: `./read_torrent.py /path/to/some.torrent`
[1] -- http://stackoverflow.com/questions/406695/reading-the-fileset-from-a-torrent/549160#549160
[2] -- http://cdimage.debian.org/debian-cd/6.0.1a/i386/bt-cd/debian-6.0.1a-i386-CD-1.iso.torrent
[3] -- http://en.wikipedia.org/wiki/Torrent_file
On Mon, May 9, 2011 at 12:09 PM, Marc Ferguson <marcferguson at gmail.com> wrote:
> Hey Fellas,
>
> I'm trying to create a torrent file via CLI, but I'm stuck after creating
> the file. I want to verify that it created the file correctly, but I don't
> want to verify by uploading the file to my public server, use another
> torrent client, etc. Is there a way I can read the .torrent file via CLI? I
> tried using "less" and "nano", but it told me it's a binary file so it's all
> gobbly goop.
>
> I used transmission-create. Thanks for any help.
>
> I posted this same question on Fedora's Forum:
> http://forums.fedoraforum.org/showthread.php?p=1469454#post1469454
>
> --
> Marc Ferguson
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
-------------- next part --------------
A non-text attachment was scrubbed...
Name: read_torrent.py
Type: application/octet-stream
Size: 1351 bytes
Desc: not available
Url : http://mail.ale.org/pipermail/ale/attachments/20110509/cc658a4b/attachment.obj
More information about the Ale
mailing list