diff --git a/bin/_fetchdir b/bin/_fetchdir new file mode 100755 index 0000000..383843e --- /dev/null +++ b/bin/_fetchdir @@ -0,0 +1,3 @@ +echo "Fetching $1" +cd $1 +git fetch diff --git a/bin/rfetch b/bin/rfetch new file mode 100755 index 0000000..778c8a5 --- /dev/null +++ b/bin/rfetch @@ -0,0 +1,3 @@ +find . -type d -name '.git' \ +| sed 's/\/\.git$//' \ +| xargs -P $(nproc) -I % _fetchdir %