fscrawler
fscrawler copied to clipboard
Index settings for hidden files and folders
Hi, I don't want to index hidden folders. Can I set it to not index hidden files and folders?
Best regard.
On which OS?
I'm using windows 10. Is there a setting method already?
There is not an explicit option. But I'm normally trying to use excludes. Would that work on windows? Or should we think of supporting a new option if available on all OS?
Thank you for your quick reply. Checking hidden folders and files one by one and setting them to exclude can be difficult. (If there are many folders and files) If we have an option to automatically exclude hidden folders and files, it would be useful.
I meant that on Unix systems, every file starting with a dot is an hidden file. So using exclude option to filter all files starting with a dot makes the trick. Could you do something similar on windows?
I'm sorry. There was a lack of explanation. In Windows, there is no rule that hidden files and folders start with a dot. This is determined by the attribute setting. For example, https://www.windowscentral.com/how-hide-files-and-folders-windows-10
I guess this is something doable and which makes sense to me.
Having skip_hidden: true
by default makes sense to me.
Would you like to contribute some code to the project?
i tried to add the exclude setting "/." on linux system, but it then excludes all files.
@maksonlee Should it be something like \..*
? Or \\..*
?
I think should it be like - "*/[.]*"