Closed peddamat closed 2 years ago
Thanks! I can see two things wrong here:
as you noted, the size check should not be done if --transform was used, or it should be done against the original file size (but it is not saved or kept anywhere, so unlikely to happen soon, I'd have to change the output format)
it should not allow to use --cached
with --transform
, because caching is not supported in that case (it has no effect)
Running the following command, (which compares RAW files using their embedded thumbnail):
results in
fclones move
throwing the following:As
dcraw -c
outputs to stdout, my thought is that fclones is saving the temp file's filesize, instead of the original file's filesize to the output json.This causes a subsequent
fclones move
to throw the warning about the filesize mismatch, preventing deduplication.