Just another IT site ※IT系の記事は当方環境での実施内容となるため実施する場合は自己責任でお願いいたします。At Your Own Risk!! TURN BACK WHILE YOU CAN
PR

Rocky LinuxでpdftkをインストールしてPDFを全ページ右へ90度回転する

※IT系の記事は当方環境での実施内容となるため実施する場合は自己責任でお願いいたします。スクリプトはAI生成のものも多いのでコピー&ペーストの際は文字コードに注意ください!
# dnf info pdftk*
Installed Packages
Name         : pdftk-java
Version      : 3.3.3
Release      : 1.el9
Architecture : noarch
Size         : 1.0 M
Source       : pdftk-java-3.3.3-1.el9.src.rpm
Repository   : @System
From repo    : epel
Summary      : GCJ-free toolkit for manipulating PDF documents
URL          : https://gitlab.com/pdftk-java/pdftk
License      : GPL-2.0-or-later AND LGPL-2.0-or-later AND APAFML AND Apache-2.0
Description  : If PDF is electronic paper, then pdftk-java is an electronic
             : staple-remover, hole-punch, binder, secret-decoder-ring, and
             : X-Ray-glasses. PDFtk is a simple tool for doing everyday things
             : with PDF documents: Merge PDF documents, split PDF pages into a
             : new document, decrypt input as necessary (password required),
             : encrypt output as desired, burst a PDF document into single
             : pages, report on PDF metrics, including metadata and bookmarks,
             : uncompress and re-compress page streams, and repair corrupted PDF
             : (where possible).
             :
             : Pdftk-java is a port of the original GCJ-based PDFtk to Java. The
             : GNU Compiler for Java (GCJ) is a portable, optimizing,
             : ahead-of-time compiler for the Java programming language, which
             : had no new developments since 2009 and was finally removed in
             : 2016 from the GCC development tree before the release of GCC 7.

#dnf install pdftk

全ページを右に90度回転

pdftk 1.pdf cat 1-endeast output 2.pdf

 

タイトルとURLをコピーしました