Add recursive fetch script
This commit is contained in:
parent
7a6a5c5ed2
commit
c38df189ec
2 changed files with 6 additions and 0 deletions
3
bin/_fetchdir
Executable file
3
bin/_fetchdir
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
echo "Fetching $1"
|
||||||
|
cd $1
|
||||||
|
git fetch
|
3
bin/rfetch
Executable file
3
bin/rfetch
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
find . -type d -name '.git' \
|
||||||
|
| sed 's/\/\.git$//' \
|
||||||
|
| xargs -P $(nproc) -I % _fetchdir %
|
Loading…
Reference in a new issue