summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/catdir.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/catdir.sh b/util/catdir.sh
new file mode 100755
index 000000000..dd10be199
--- /dev/null
+++ b/util/catdir.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+find -H "$1" -type l -printf '%p -> %l\n' | sort
+find -H "$1" -type f -print0 | sort -z | xargs -0 cat