Skip to content

Instantly share code, notes, and snippets.

@mrsoftware
Created October 8, 2020 21:03
Show Gist options
  • Select an option

  • Save mrsoftware/3ee5ce6b1917fb607abb73537cbe7ed6 to your computer and use it in GitHub Desktop.

Select an option

Save mrsoftware/3ee5ce6b1917fb607abb73537cbe7ed6 to your computer and use it in GitHub Desktop.

Revisions

  1. mrsoftware renamed this gist Oct 8, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. mrsoftware created this gist Oct 8, 2020.
    1 change: 1 addition & 0 deletions gitlabBackup
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    for repo in $(curl "https://gitlab.com/api/v4/projects?private_token=TOKEN&owned=yes" | jq '.[].ssh_url_to_repo' | tr -d '"'); do git clone $repo; done;