-   Linux - Software (
-   -   A tool for extractin file names from *.torrent fies (

igadoter 05-24-2011 11:05 AM

A tool for extractin file names from *.torrent fies
I need to know file names in torrent without opening torrent client. Know and extract for further actions.

crts 05-24-2011 11:52 AM


I assume you want to do this from CLI. The information can be easily extracted with ctorrent.

ctorrent -x file.torrent
You can further parse the output with sed/awk/perl to extract the info you need. I do not recommend to parse the *.torrent file directly with one of the above tools since it is "semi-binary".

Hope this helps.

igadoter 05-24-2011 01:44 PM

Great thanks. After I posted I found that the same can do btpd with

btinfo file.torrent

All times are GMT -5. The time now is 03:24 PM.