Thanks Jean-Philippe Pialasse,
Help me understand, this command, will it scan files one time or will it do it continuously?
If it is a one time thing, it is useless since my server is in a mixed environment: (internal users SMB/ External NextCloud) so I would have to run this command several times a day, which is not feasible.
Our plan was to add NextCloud to allow secure access for external users to files on server. It seemed like a ideal solution since NextCloud has mobile app, which allows external users to get to files quickly. But the file syncing issue has thrown a roadblock to our plans.