← 返回
效率工具 中文

Nested PDF Merger

Use this skill when the task is to merge PDFs from a nested directory tree into a single PDF with hierarchical bookmarks by invoking the external `nestedpdfm...
在需要将嵌套目录树中的 PDF 合并为带层级书签的单一 PDF 时使用此技能,需调用外部工具 nestedpdfm。
lyutenant
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 466
下载
💾 5
安装
1
版本
#latest

概述

Nested PDF Merger

This repository wraps the external nestedpdfmerger CLI.

Do not implement PDF merging logic in this repository.

Do not modify anything under reference/.

Requirements

This skill requires the nestedpdfmerger command to be installed and available on PATH.

Expected installation command:

pip install nestedpdfmerger

Expected CLI entrypoint:

nestedpdfmerger INPUT_DIR -o OUTPUT.pdf [options]

Alternative module invocation:

python -m nestedpdfmerger INPUT_DIR -o OUTPUT.pdf [options]

When to use

Use this skill when the user wants to:

  • Merge PDF files from a folder tree into one output PDF.
  • Preserve the folder hierarchy as PDF bookmarks.
  • Preview merge order with --dry-run.
  • Exclude directories, change sort order, or disable bookmarks.

Workflow

  1. Confirm the input directory and desired output path.
  2. Prefer --dry-run first when the user wants to validate merge order.
  3. Run the CLI with the smallest set of flags needed.
  4. If the command fails because the binary is missing, tell the user to install it with pip install nestedpdfmerger.

Supported flags

  • -o, --output PATH
  • --sort {natural,alpha,mtime}
  • --reverse
  • --exclude NAME [NAME ...]
  • --exclude-hidden
  • --no-bookmarks
  • --dry-run
  • --strict
  • --verbose
  • --quiet
  • --version

Examples

Preview merge order:

nestedpdfmerger ./reports --dry-run

Merge with explicit output:

nestedpdfmerger ./reports --output merged.pdf

Merge while excluding folders:

nestedpdfmerger ./reports --output merged.pdf --exclude Backup Data

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 06:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 446 📥 226,450
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,960
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 433 📥 103,861