Skip to content

Commit

Permalink
marlamin-check_files: be safe on filenames with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bloerwald committed Feb 24, 2018
1 parent 0d67007 commit c29c92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marlamin-check_files-pipe.sh
Expand Up @@ -16,6 +16,6 @@ echo "- checking $(head -n1 "${tmp_f}") and $(($(cat "${tmp_f}" | wc -l)-1)) oth

split -a 5 -l 1000 "${tmp_f}" "${tmp_f}-part"

find ${PWD} -wholename "${tmp_f}-part*" | xargs "${scriptdir}/marlamin-check_files.sh"
find ${PWD} -wholename "${tmp_f}-part*" -print0 | xargs -0 "${scriptdir}/marlamin-check_files.sh"

echo "- done" >&2

0 comments on commit c29c92e

Please sign in to comment.