mathz.nu Asterisk Blacklist Hobby webbhotell

2016/06/09

Oneliner to backup git repos from Gitolite

Filed under: GIT — Mathz @ 16:12

ssh <user>@<githost> info | sed -n ‘/^ R W/p’ | sed -r ‘s/^.{5}//’ | while read line ; do git clone ssh://<user>@<host>/$line ; done

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress