Files
dangerboot 0483507d46 prompt_dir
2026-02-11 14:16:14 +01:00

12 lines
174 B
Bash
Executable File

#!/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