silence dos2unix

This commit is contained in:
Gwenhael Le Moine 2024-10-18 15:49:35 +02:00
parent f472322006
commit 23b67bf8b4
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -29,7 +29,7 @@ sed -i 's/'$(echo "\0337")'/ss/g' ./*
echo "> Correct filenames' case"
for f in ./*; do
dos2unix "$f"
dos2unix "$f" >/dev/null 2>&1
echo "$f" | grep -q "[A-Z]" && mv "$f" "$(echo "$f" | tr '[:upper:]' '[:lower:]')"
done