This commit is contained in:
2026-06-06 22:09:00 +02:00
parent a80187ba80
commit 27c0dae20e
9 changed files with 315 additions and 69 deletions
+5
View File
@@ -13,6 +13,11 @@ cd "$1" || { echo "Error: Cannot access directory '$1'"; exit 1; }
shopt -s nullglob
for file in *.pdf; do
if [ "$file" = "enonce.pdf" ]; then
echo "Skipping: $file"
continue
fi
# Rotate to a temporary file
if qpdf --rotate=+180 "$file" "temp_rotated.pdf"; then
mv "temp_rotated.pdf" "$file"