torrent-file-editor / torrent-file-editor

Qt based GUI tool designed to create and edit .torrent files
https://torrent-file-editor.github.io
GNU General Public License v3.0
915 stars 85 forks source link

Batch Mode... is possible? #124

Open kdantas opened 3 years ago

kdantas commented 3 years ago

Hi, is there any way to run TFE in batch mode? I need to change the info hash of several .torrent files. If not possible, is there any script to do this? Thanks.

drizt commented 3 years ago

Hi. In short you can't change info hash that's it. In long info hash value based on contents of files from whitch consist torrent. So if you need to change hash you must change files. You can add, remove, reorder files.

kdantas commented 3 years ago

Hi drizt, are you the creator of the TFE? Anyway, I can change info hash, just changing the field content: Tree - info - source string. So my question, can I do that in batch mode? Or, is there a TFE CLI version for run via script?

drizt commented 3 years ago

Yes, it's me. Via command line you can only convert .torrrent file to .json in both directions.