I wrote a script to import user and groups by LDIF-exports from an old UCS.
The script parses groups and users in the LDIF into udm-commands.
I sorted out all problems so far, except the user-picture, where the command always breaks with error: Argument list too long
udm users/user modify --dn "[user-dn]" --set jpegPhoto="[base64-encoded jpeg]"
The pictures are about 50 KB to 150 KB (+base64-encoding overhead).
Is there a way to successfully import the user-picture by console command?
Or is there another way to import the user-pictures without manually upload every single one?