Hello,
I would like to exclude directories for file:scan command in nextcloud, but found out this is available in owncloud only.
As stated in the owncloud manual,
Impact on System Performance
If you have a filesystem mounted with 200,000 files and directories and 15 snapshots in rotation, you would now scan and process 200,000 elements plus 200,000 x 15 = 3,000,000 elements additionally. These additional 3,000,000 elements, 15 times more than the original quantity, would also be available for viewing and synchronisation. Because this is a big and unnecessary overhead, most times confusing to clients, further processing can be eliminated by using excluded directories.
this is a essential functionality for such use case.
More discussions could be found in owncloud issue.
It would be great if there is a plan on implementing this. Thanks!
@icewind1991
Any update on this issue? Will there be any schedule?
@icewind1991 can tell something substantial about it, he's on vacation for now however.
https://github.com/nextcloud/files_excludedirs handles this
It works now, thanks
https://github.com/nextcloud/files_excludedirs handles this
You should reopen this issue because files_excludedirs doesn't work with newer Nextcloud versions.
Did anyone find a solution for this with newer nextcloud versions? I want to ignore my node_modules folders because they make file scans take forever and I don't care about them in nextcloud.
Did anyone find a solution for this with newer nextcloud versions? I want to ignore my
node_modulesfolders because they make file scans take forever and I don't care about them in nextcloud.
did you ever figure out a solution? adding 'node_modules' to the ignore files list in the windows app doesnt seem to work.
Most helpful comment
Did anyone find a solution for this with newer nextcloud versions? I want to ignore my
node_modulesfolders because they make file scans take forever and I don't care about them in nextcloud.