无法在pdftk中旋转

Can't rotate in pdftk

我正在按照在线说明尝试将 PDF 的所有页面旋转90 度顺时针

pdftk in.pdf cat 1E output out.pdf

但是我得到以下错误

Error: Unexpected text in page range end, here: 
   1
   Exiting.
   Acceptable keywords, for example: "even" or "odd".
   To rotate pages, use: "north" "south" "east"
       "west" "left" "right" or "down"
Errors encountered.  No output created.
Done.  Input errors, so no output created.

我无法想象我做错了什么

应完整给出罗盘方向(EAST 而不是 E)。

要旋转第一页:

pdftk t/helloworld.pdf cat 1EAST output out.pdf

旋转所有页面(页面范围1-end):

pdftk t/helloworld.pdf cat 1-endEAST output out.pdf