Don't find hidden files or directories

This commit is contained in:
David Heinemeier Hansson
2026-05-08 16:02:42 +02:00
parent 065b9439cd
commit 7b90929129
+1 -1
View File
@@ -30,7 +30,7 @@ for path in "${paths[@]}"; do
[[ -e $path ]] || { echo "Path not found: $path" >&2; exit 1; }
done
find_args=("${paths[@]}" "(" -type d -name ".*" ! -name "." -prune ")" -o -type f "(")
find_args=("${paths[@]}" "(" -type d -name ".*" ! -name "." -prune ")" -o -type f ! -name ".*" "(")
first_format=true
for format in "${formats[@]}"; do
if [[ $first_format == "true" ]]; then