Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluding Directories and Blacklisting Files on Nextcloud #6888

Closed
tujian opened this issue Oct 20, 2017 · 12 comments
Closed

Excluding Directories and Blacklisting Files on Nextcloud #6888

tujian opened this issue Oct 20, 2017 · 12 comments

Comments

@tujian
Copy link

tujian commented Oct 20, 2017

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!

@blizzz
Copy link
Member

blizzz commented Oct 24, 2017

@icewind1991

@tujian
Copy link
Author

tujian commented Oct 28, 2017

Any update on this issue? Will there be any schedule?

@blizzz
Copy link
Member

blizzz commented Oct 30, 2017

@icewind1991 can tell something substantial about it, he's on vacation for now however.

@icewind1991
Copy link
Member

@kzhui125
Copy link

kzhui125 commented May 26, 2018

It works now, thanks

@helmut72
Copy link

https://github.com/nextcloud/files_excludedirs handles this

You should reopen this issue because files_excludedirs doesn't work with newer Nextcloud versions.

@blizzz
Copy link
Member

blizzz commented Jun 4, 2019

@NickBolles
Copy link

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.

@LucaNerlich
Copy link

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 you ever figure out a solution? adding 'node_modules' to the ignore files list in the windows app doesnt seem to work.

@GRArmstrong
Copy link

Would also be keen to see a solution to this problem, got Nextcloud on my Synology NAS and I have an external local directory which contains Synology's @eaDir directories. I'd like Nextcloud to not include them on the server.

@ikogan
Copy link

ikogan commented Feb 21, 2021

For me, nextcloud is having fun with recursive symbolic links and zfs snapshot directories. This exclude really is essential.

@GuyPaddock
Copy link

Please give this unsigned release a spin; should work on 23x.:
https://github.com/Inveniem/nextcloud-files-excludedirs/releases/tag/v1.0.0-beta

I've provided updated docs in my fork of the Readme (specifically, how it works with existing vs. newly-added files):
https://github.com/Inveniem/nextcloud-files-excludedirs/blob/master/README.md

Feedback is welcome here:
https://github.com/Inveniem/nextcloud-files-excludedirs/issues

I'll have to look into publishing an official, signed package because I wasn't the original author of this one -- I just updated the work of others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants