manyfold3d / manyfold

A self-hosted digital asset manager for 3d print files.
https://manyfold.app
MIT License
693 stars 45 forks source link

Hide/Ignore system generated files and/or files that match regex patterns #2545

Open DrazorV opened 3 weeks ago

DrazorV commented 3 weeks ago

I would love to see a feature that allows me to ignore/hide specific files from my library. For example Synology NAS creates thumbnail files for every image in it's directories.

All thumbnails are named SYNOPHOTOTHUMB[X].jpg where [X] is XL, L, M, S, XS for all the different image sizes it generates.

This case is very easy to be handled since all the files contain the same phrase "SYNOPHOTOTHUMB".

Screenshot 2024-08-21 103842 Screenshot 2024-08-21 103927

As you can see there are 50000 files that I don't want to have in my library.

DrazorV commented 3 weeks ago

After some research, synology servers create folders named @eaDirs that contain those thumbnails and other generated files. Maybe it would be a good approach to ignore those folders all together since it's something that happens across the board for everyone with synology nas.

Floppy commented 3 weeks ago

2553 ignores the synology files, and makes it easy to add UI control for this in future by collecting all ignore checks into one list of regexes.