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

How does this work? #3

Open
ariselseng opened this issue Apr 30, 2017 · 2 comments
Open

How does this work? #3

ariselseng opened this issue Apr 30, 2017 · 2 comments

Comments

@ariselseng
Copy link
Member

ariselseng commented Apr 30, 2017

Can anyone please explain how I use this? I have a sub directory with tens of thousands of files I want to ignore.

@ComputerCarl
Copy link

I extracted to folder to /var/www/nextcloud/apps, changed permissions, and ran the following command, but how do I tell if this app is enabled and working?
sudo -u www-data php occ config:app:set --value '[".snapshot",".git". "Thumbs.db", "node_modules"]' files_excludedirs exclude
resulted in confirmation;
Config value exclude for app files_excludedirs set to [".snapshot",".git". "Thumbs.db", "node_modules"]

@GuyPaddock
Copy link

Answer: It only appears to affect new files, but it doesn't remove matching files from the file cache (it will block access to them, though). If you have existing files that the plugin matches that should not appear in search results, you will need to remove them from the NC database manually.

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

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

No branches or pull requests

3 participants