We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b991525 commit b3a7329Copy full SHA for b3a7329
parallel-update.sh
@@ -0,0 +1,11 @@
1
+#!/usr/bin/env bash
2
+set -Eeuo pipefail
3
+
4
+cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
5
6
+images=( */ )
7
+images=( "${images[@]%/}" )
8
9
+: "${PARALLELISM:=$(( $(nproc) * 2 ))}"
10
11
+xargs -rtn1 -P "$PARALLELISM" ./update.sh "$@" <<<"${images[*]}"
0 commit comments