Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Search this Thread
Old 05-24-2011, 12:05 PM   #1
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
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.
Old 05-24-2011, 12:52 PM   #2
Senior Member
Registered: Jan 2010
Posts: 1,604

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446

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.
1 members found this post helpful.
Old 05-24-2011, 02:44 PM   #3
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Original Poster
Rep: Reputation: 56
Great thanks. After I posted I found that the same can do btpd with
btinfo file.torrent


file, names, torrent

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash: bash file names are different than openbox trash file names whatthefunk Programming 4 02-15-2011 02:52 AM
LXer: Torrent Search - Torrent searching application for the Gnome desktop environment LXer Syndicated Linux News 0 08-18-2010 09:20 AM
[SOLVED] How to changing same file names by their directory names? bayaraa_u Linux - General 3 04-09-2010 09:26 AM
download SUSE torrent file, now how do I use the file? mhg Linux - Newbie 3 09-15-2008 12:33 AM
how to extract .torrent file??? ZAMO Linux - General 1 05-30-2007 06:06 AM

All times are GMT -5. The time now is 08:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration