Import shared folder

Nextcloud version (eg, 20.0.5): 21.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 7.4): 7.4.3

The issue you are facing:

Installed NextCloud o a server that already has folders with group files, e.g /mnt/md0/share/Support, /mnt/md0/share/Development

I have created correspodning groups Support and Development in NextCloud.

Now, how do I get occ to scan these two folders (and sub-folders) and assign them to the correct folders within the app?

These folders on the server do not belong to a specific user.

I have seen posts that user scan:files and scan:all but it is not clear how to specify the group folder and the mapping to the NextCloud folder.