Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using only with command line #119

Open
Darioits opened this issue Apr 11, 2021 · 5 comments
Open

Using only with command line #119

Darioits opened this issue Apr 11, 2021 · 5 comments
Labels

Comments

@Darioits
Copy link

It's possible using only with command line to extract information?

@drizt
Copy link
Member

drizt commented Apr 11, 2021

TFE provides --to-json and --from-json command line arguments. You can convert any bencoded file to JSON format and work such file with any regular JSON tools.

@drizt drizt added the question label Apr 11, 2021
@Darioits
Copy link
Author

Darioits commented Apr 12, 2021

thank you Ivan for reply, may I try this command? thank you

torrent-file-editor-0.3.17-x64.exe test.torrent --to-json test.csv

@drizt
Copy link
Member

drizt commented Apr 12, 2021

It's not correct syntax.

$ torrent-file-editor --help
Usage: torrent-file-editor --to-json | --from-json  source dest

You need use torrent-file-editor-0.3.17-x64.exe --to-json test.torrent test.csv.

@Darioits
Copy link
Author

Darioits commented Apr 12, 2021

thank you now works fine, last question and if I don't need "Press any key to close window...", because I want scan many files?

@drizt
Copy link
Member

drizt commented Apr 12, 2021

Seems you need to set some cmd.exe options. I haven't big Windows experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants