@fbartels the MDM Plugin is not working on my System…it seems this script is working…
I have only one Problem whit the syntax at the moment…I see all the time when I add a folder the following.
Failed adding folder 'Kalender' for user 'user1' on device 'd1aar1gxxxxxxxxxxxs'. ASDevice->AddAdditionalFolder(): folder can not be added because there is already a folder with the same name synchronized in the same parent: 'Kalender'.
so my syntax was
bash add_shared_folder.sh "add" "user1" "Kalender" "user2" "calendar"
so user1 is the receiver the person who will receive this new calendar on his system…right?
user2 is the sender who shares the calendar.
It’s clear on the user1 system is also a Folder whit the Name Kalender and it can not be addet.
In case I use this
bash add_shared_folder.sh "add" "user1" "Kalender - user2" "user2" "calendar"
i got this error
USER, FOLDERNAME, STORE, TYPE and FOLDERID are required for addshared command.
I was listing the folder through z-push admin but can’t figure out the syntax…sorry…
Or maybe the “Kalender” should get a different name on the device who receives the folder.
Think this something to observe.
I createt a different caldenar Treter
bash add_shared_folder.sh "add" "user1" "Treter" "user2" "calendar"
Than the skript shows me 2 calendars first Kalender and Treter, than the skript asks me to add folder id and after the rest of the process the folder is add.
In which file the configuration will be written?
Sorry for asking you…