Torrent files are essentially containers that store information about a set of files to be downloaded via P2P.
Unfortunately it is not easily possible to simply list the files that are stored in a torrent.
Using our python script torrentls.py you can easily accomplish that task.
Start by installing the dependencies
sudo pip install bencode
After that, you can easily execute the script using a shell command like python torrentls.py <torrent file>.
torrentls.py is argparse-based so it provides a built-in help. Additionally, you can use it as library for basic parsing of torrent files.