-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Is your feature request related to a problem? Please describe.
files:scan is a great functionality to allow to retrieve changes on the filesystem outside of nextcloud. However this is time and resource consuming.
You can reduce the amount of ressources used with --path parameter or by selecting a user. However,t his will still lead to scan of huge quantity of files if you have a huge depth of folders, while you know you simply added or alter a file in the first level of folder.
Describe the solution you'd like
a classic solution is a parameter to specify the max depth to explore for the command. This would allow to limit the amount of ressources used to update the cache efficiently.
Describe alternatives you've considered
alternative would be a full implementation of kernel inotify on linux system.