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

More verbose duplications output #10

Closed
miketvo opened this issue Jun 5, 2023 · 4 comments · Fixed by #14
Closed

More verbose duplications output #10

miketvo opened this issue Jun 5, 2023 · 4 comments · Fixed by #14
Assignees
Labels
feature New feature or request in progress Work is being done on this

Comments

@miketvo
Copy link
Owner

miketvo commented Jun 5, 2023

When verbose mode is on in scan mode, instead of the old output:

...

img0.jpg
dup1_img0.jpg
dup2_img0.jpg
dup3_img0.jpg

img1.jpg
dup1_img1.jpg
dup2_img1.jpg

...

I want it to also display the hash for each duplication, as such:

...

[Duplication 1 | hash 12345678abcdefabcdef]
img0.jpg
dup1_img0.jpg
dup2_img0.jpg
dup3_img0.jpg

[Duplication 2 | hash abcdefabcdef12345678]
img1.jpg
dup1_img1.jpg
dup2_img1.jpg

...

Where the [Duplication x | hash y] lines are colorized for better readability.

When the -o/--output flag is specified, regardless if verbose mode is on or not, the output file should always have the more verbose format to preserve information. This file is then can be fed back into clean mode as #11 described. This could help with future feature extensions.

@miketvo miketvo added the feature New feature or request label Jun 5, 2023
@miketvo miketvo self-assigned this Jun 5, 2023
@miketvo miketvo added the in progress Work is being done on this label Jun 7, 2023
@miketvo
Copy link
Owner Author

miketvo commented Jun 7, 2023

Paths in output file for -o/--output will always be absolute, that makes more sense

@miketvo
Copy link
Owner Author

miketvo commented Jun 7, 2023

detect mode is now scan mode

@miketvo
Copy link
Owner Author

miketvo commented Jun 7, 2023

Very long hashes are truncated; output file does not include hash (because they can get too long)

@miketvo
Copy link
Owner Author

miketvo commented Jun 9, 2023

The file format is now JSON, with a mandatory extension of .imdup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request in progress Work is being done on this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant