IMAPdedup icon indicating copy to clipboard operation
IMAPdedup copied to clipboard

new default behavior and new options

Open jeffhawke opened this issue 9 years ago • 2 comments

new default behavior: do not keep track of the ids of all the folders, only check a folder content against itself

new options: --all to automatically parse all folders, --global to restore the global check behavior for folders

jeffhawke avatar May 13 '15 09:05 jeffhawke

Hi Jeff - I'm sorry for the delay in merging this - it looks good, though. My only concern is that the --global option changes the current default behaviour. I'm not sure if many people use this in scripts, cron jobs etc, but I wouldn't want to surprise them!

So I'd be tempted to leave the current behaviour and add a --local if you only want to check for duplicates in the same mailbox. What do you think?

Quentin

quentinsf avatar Jul 16 '15 08:07 quentinsf

Hi, thanks for answering. Yes, your solution works as well and it may be less disruptive of existing use cases. Mostly, I went and changed the default behavior because I felt that only checking against every folder was the "expected" result, but then maybe it's just me.

jeffhawke avatar Jul 16 '15 08:07 jeffhawke