Skip to content

"cat" command: page range only applies to the last file of wildcard expression #199

@lkintact

Description

@lkintact
  • Operating System: Windows 10 Home 22H2
  • Python version: 3.13.8
  • pdfly version used: 0.5.1

Hi,

Suppose there are 3 PDF files in the current folder: 1.pdf, 2.pdf and 3.pdf, and this command is executed:
pdfly.exe cat -o output.pdf *.pdf 0:1.

Actual result: the resulting file, output.pdf, contains full file 1.pdf, full file 2.pdf and the first page of file 3.pdf, i.e. the 0:1 page range is only applied to 3.pdf.

Expected result: output.pdf should contain the first pages of 1.pdf, 2.pdf and 3.pdf, i.e. the range should be applied to all the files of the wildcard expression *.pdf.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions