Exclude some directories from preview generation

I’m sorry if this has been asked before but I couldn’t find an answer here on the forums or in the documentation so I decided to ask here.

My problem is as follows:
I have a number of directories in my Nextcloud folder that contain images (icons mainly) that I would like to exclude from the preview generation. More specifically, I don’t want to see them when I open the gallery because they are not relevant to me. Is there a way to achieve this?

Nextcloud version (eg, 10.0.2): 12.0.2

I opened a github ticket has no answer is available…

Preview generator in conjunction of external storage is causing trouble …

I am using S3 as a monthly cold backup… generating previews for it is a waste space and bandwidth, witch is charge !!! space is money, money is bandwidth …

Please provide a link to your issue.


here the link to the ticket on github.