summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-21 14:49:12 +0100
committerErich Eckner <git@eckner.net>2020-01-21 14:49:12 +0100
commit403465ff419c5422f5e585267e8b4aa12f1777f9 (patch)
tree586ec348d64cf6274816d79f122161cfaaf7fe31
parentc389677306ee37c53ecbd3a6a8476ebd58e8f00e (diff)
downloadkhal-extras-403465ff419c5422f5e585267e8b4aa12f1777f9.tar.xz
watch-calendars: watch all calendars in parallel!
-rwxr-xr-xwatch-calendars2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-calendars b/watch-calendars
index 5f89051..cbae9be 100755
--- a/watch-calendars
+++ b/watch-calendars
@@ -5,7 +5,7 @@ if [ $# -eq 0 ]; then
-type d \
-mindepth 1 \
-maxdepth 1 \
- -exec "$0" {} \;
+ | parallel -j0 "$0"
exit $?
fi