sreedevk / deduplicator

Filter, Sort & Delete Duplicate Files Recursively
MIT License
264 stars 15 forks source link

[Feature] Use Globwalker Builder to add --max-depth & --follow-links options #39

Closed sreedevk closed 1 year ago

sreedevk commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, there is no fine control over the directory scanning process. Using the Globwalk Builder, we can add options like --max-depth & --follow-links to offer more control over the directory scanning process.

Describe the solution you'd like https://docs.rs/globwalk/latest/globwalk/#advanced-globbing

cc: @beeb adding this issue here to discuss options

beeb commented 1 year ago

I will setup the builder first, without options, and then we can move to adding those as cli arguments

sreedevk commented 1 year ago

@beeb sounds good!

beeb commented 1 year ago

First step https://github.com/sreedevk/deduplicator/pull/41

sreedevk commented 1 year ago

46 Adds --min-depth --max-depths & --follow-links