twpayne / find-duplicates

Find duplicate files quickly.
MIT License
44 stars 1 forks source link

Avoid work when paths overlap #6

Open twpayne opened 11 months ago

twpayne commented 11 months ago

When running

find-duplicates ./dir ./dir/subdir

find-duplicates will walk ./dir and ./dir/subdir separately, even though one is the subdirectory of the other.

This duplicate work should be avoided.

Fixing #3 will likely fix this too.