[FEATURE]: Add configuration option to inject file name restriction (similar to FSLint parameter 'INAME')
Opened this issue · 0 comments
Is your feature request related to a problem? Please describe.
This file duplicate search script considers all files available in the mounted folders. That increases the runtime of the search. It also removes focus for the (manual) clean up afterwards. There are too many result files listed if only PDF files should be cleaned up.
The FSLint tool (UI wrapper for fdupes) allows to restrict for file name patterns (e.g. '*.pdf').
Describe the solution you'd like
It could be helpful to add a new configuration option, which passes its value (or similar) into the script execution. As fdupes doesn't have a cli parameter directly for that, it will most likely apply for the output result preparation after the duplicate search.
Describe alternatives you've considered
n/a
Additional context
There might also be the possibility to allow a list of file extensions, which are translated into find string values. And it might be sufficient to restrict the option to file extensions only. For a private usage, it should be enough.