In my GitLab repository, I have a group with 20 projects. I want to clone all projects at once. Is that possible?
I built a script (curl, git, jq required) just for that. We use it and it works just fine: https://gist.github.com/JonasGroeger/1b5155e461036b557d0fb4b3307e1e75
To find out your namespace, its best to check the API quick:
curl "https://domain.com/api/v3/projects?private_token=$GITLAB_PRIVATE_TOKEN"
There, use "namespace.name" as NAMESPACE for your group.
The script essentially does:
PROJECT_SEARCH_PARAMGet their path and ssh_url_to_repo
2.1. If the directory path exists, cd into it and call git pull
2.2. If the directory path does not exist, call git clone