Miscs
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user