Attaching cryosparc projects with a script

Dear developers,

We are migrating to the new computer cluster and must attach ~300 cryosparc projects to the new cryosparc instance. Is there a way to do this with a command-line script?

Thank you,
Sergei

@Sergei Would the attach_project() cli function fit the bill? For the owner_user_id, please specify the hexadecimal string from the relevant user’s ID field in the output of

cryosparcm listusers

For example:

cryosparcm cli "attach_project('807c432efc66a92ee905a0d6a', '/abs/path/to/project_dir')"

That should do it. Thank you!