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

Feature request: machine parseable output #1006

Closed
fff7d1bc opened this issue Jun 16, 2023 · 3 comments · Fixed by #1083
Closed

Feature request: machine parseable output #1006

fff7d1bc opened this issue Jun 16, 2023 · 3 comments · Fixed by #1083

Comments

@fff7d1bc
Copy link

It would be fantastic if czkawka could output a machine parseable payload like json.

Running something like czkawka_cli video -d /path/to/directory results in an output that is hard to parse, I'd love to consume it with Python and for example remove the duplicates, for example, starting with the smallest, or run additional postprocesing to delete those that hve lowest resolution and leave the highest, even if czkawka wouldn't provide me such metadata, I could probe for them on each set.

While it is possible already to parse the output, it require some complex tier 3 hackery to get it done, I think it would make the most sense to have optional JSON output format

Thanks!

@lihuilai
Copy link

I have the same needs,optional JSON output format.
fclones provide that feature, so I have to do that for now.

@qarmin
Copy link
Owner

qarmin commented Oct 11, 2023

After recent changes(#1082) adding support for printing json output to file, should not be so hard(at least for most modes), so probably I will implement this soon(but not sure if this will be available in next version)

@lihuilai
Copy link

Thanks!

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

Successfully merging a pull request may close this issue.

3 participants