im about to write a simple script to add a shared folder to a user via z-push-admin.
But im stuck in getting the folderid from kopano-db.
Does someone knows where to find it or do i need to convert something?
if im finished, the script should work with just:
scriptname 'remove' 'username' 'local folder name' optional with asking which device should remove the folder or scriptname 'add' 'username' 'local folder name' 'user from which is shared' 'typ' optional with asking which device should add the folder
i will provide it here for others
///EDIT: Find a solution:
php /usr/share/z-push/backend/zarafa/listfolders.php -l ‘username’ and grep the name with following id :)
i leave this open to provide the script in the future