9scripts/mirror/hgpull

8 lines
62 B
Bash

#! /bin/rc -e
cd $1
for (i in *){
cd $i
hg pull -u
cd ..
}