Miscs
This commit is contained in:
1 parent
a80187ba80
commit
27c0dae20e
9 files changed
+315
-69
No files matched your search
@@ -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