Add recursive fetch script

This commit is contained in:
Talia 2020-01-07 11:08:30 +01:00
parent 7a6a5c5ed2
commit c38df189ec
2 changed files with 6 additions and 0 deletions

3
bin/_fetchdir Executable file
View File

@ -0,0 +1,3 @@
echo "Fetching $1"
cd $1
git fetch

3
bin/rfetch Executable file
View File

@ -0,0 +1,3 @@
find . -type d -name '.git' \
| sed 's/\/\.git$//' \
| xargs -P $(nproc) -I % _fetchdir %