Files

12 lines
174 B
Bash
Raw Permalink Normal View History

2026-02-13 10:54:44 +01:00
#!/usr/bin/env bash
root="${1:-.}"
find "$root" -type f -print0 |
while IFS= read -r -d '' file; do
printf -- "---\n%s\n-\n" "$file"
cat -- "$file"
printf "\n"
done