diff options
Diffstat (limited to 'util/catdir.sh')
-rwxr-xr-x | util/catdir.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/catdir.sh b/util/catdir.sh index b23b94125..19dfd2461 100755 --- a/util/catdir.sh +++ b/util/catdir.sh @@ -1,3 +1,5 @@ #!/bin/bash +cd "$1" +shift find -H "$@" -type l -printf '%p -> %l\n' -o -printf '%p (%U/%G/%#m)\n' | sort find -H "$@" -type f -print0 | sort -z | xargs -0 cat |