scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 2dd9e17a901ecc1b5c06dd3fea0f156d2079c81e
parent cbf8f37b9f2dd742607143f98d6c544da1334fc2
Author: sin <sin@2f30.org>
Date:   Thu, 27 Jun 2013 19:31:51 +0300

Add 2f30-clone-all

Diffstat:
A2f30-clone-all | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/2f30-clone-all b/2f30-clone-all @@ -0,0 +1,14 @@ +#!/bin/sh + +trap 'rm -f projects; exit 0' 2 + +wget http://git.2f30.org/?a=project_index -O projects +awk '{print $1}' projects > projects.tmp +mv projects.tmp projects + +while read line; do + if [ ! -d "$line" ]; then + git clone git@git.2f30.org:"$line" + fi +done < projects +rm projects