Btw. you shouldn't modify stuff within the datadir itself. That is unsupported and can cause issues with your data. Please see the following FAQ for alternatives:
Hi we have around 300 users who login via their browser
OC is hosted on our web space on Godaddy
we have folders on our PC that we use to store the user data, we paste files there
users upload files directly into OC
we need to sync our PC data with the cloud data.
My solution was to run an FTP app that syncs the OC Data DIR with our PC Data DIR and then run Files Scan to update the OC cache. Would that work?
I can use the desktop client but I don't know how many user accounts I can add to it, we also create new users all the time and we'd need to add them to the DT client as well.
Please avoid hijacking such old and already answered topics with unrelated questions (the original poster had asked how to use occ to scan a single folder).