[WordPress] 外掛分享: CirculationDesk Export Tool for Document Library

首頁外掛目錄 › CirculationDesk Export Tool for Document Library
WordPress 外掛 CirculationDesk Export Tool for Document Library 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-09-15

內容簡介

CirculationDesk Export Tool for Document Library 是一款方便的外掛,能將整個文件庫匯出為一個 .zip 檔案,並根據文件類別進行分類,還附有描述每個文件的 CSV 清單,適合需要整理和備份文件的使用者。

【主要功能】
• 將文件庫匯出為 .zip 檔案
• 按文件類別分類文件夾
• 附帶 CSV 清單描述文件資訊
• 支援多類別文件的複製
• 可自訂匯出文件的狀態

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CirculationDesk Export Tool for Document Library」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Adds a page under Tools that exports your whole document library as one .zip file,
sorted into a folder per Document Category, alongside a CSV manifest describing
every document.
Requires Document Library Lite (free) or Document Library Pro by Barn2 Plugins:
Document Library Lite

https://barn2.com/wordpress-plugins/document-library-pro/
This utility is provided with the approval of, but is not affiliated with, Barn2 Plugins.
Usage
Tools > Export Documents. Requires the export capability, which belongs to
Administrators by default.
Options:

Include statuses — which post statuses to export. Published and privately
published are ticked by default; drafts, pending, scheduled and archived are
available where they exist.
Folders — one checkbox per Document Category, plus one for documents with no
category. Untick a folder to leave it out.
Copy multi-category documents into every matching folder — on by default, so
each folder is complete. Off files them under their first selected category only.
Filenames — keep the original upload filename, or name files after the
document title.

Click Build archive, then Download .zip.
What to expect
The archive:
Some-Category/
Another-Category/
_no-category/
document-library-manifest.csv

Folder names come from the category name, alphabetically ordered, so repeat exports
match. The download is named document-library-YYYY-MM-DD.zip.
The manifest has a row per document: ID, title, status, slug, permalink, dates,
author, link type, path in the zip, filename, size, attachment ID, external URL,
taxonomy terms, document metadata, and a Notes column flagging anything unusual.
Documents that point at a file hosted elsewhere have nothing on the server to
archive. They appear in the manifest with their URL and are counted as skipped.
Missing files are reported the same way.
Progress runs in batches, so a large library will not time out. Leaving the page
mid-build abandons the archive, which is cleaned up within six hours. The archive is a
download: it is deleted from the server once sent, and nothing is added to the Media
Library. It can contain private and draft documents, so treat it accordingly.
Filters
// Smaller batches on a host with a short execution limit.
add_filter( 'circulationdesk_export_tool_batch_size', function () { return 10; } );

// Build the archive somewhere specific.
add_filter( 'circulationdesk_export_tool_staging_dir', function () { return '/var/tmp/dl-exports'; } );

// Change the download filename.
add_filter( 'circulationdesk_export_tool_download_filename', function () { return 'documents.zip'; } );

// Add extra postmeta keys as manifest columns.
add_filter( 'circulationdesk_export_tool_manifest_meta_keys', function ( $keys ) { return $keys; } );

延伸相關外掛

文章
Filter
Mastodon