Title: CirculationDesk Export Tool for Document Library
Author: arothmanmusic
Published: <strong>2026 年 9 月 16 日</strong>
Last modified: 2026 年 9 月 16 日

---

搜索插件

![](https://ps.w.org/circulationdesk-export-tool/assets/banner-772x250.png?rev=3697808)

![](https://ps.w.org/circulationdesk-export-tool/assets/icon-256x256.png?rev=3697808)

# CirculationDesk Export Tool for Document Library

 作者：[arothmanmusic](https://profiles.wordpress.org/arothmanmusic/)

[下载](https://downloads.wordpress.org/plugin/circulationdesk-export-tool.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/circulationdesk-export-tool/#description)
 * [评价](https://cn.wordpress.org/plugins/circulationdesk-export-tool/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/circulationdesk-export-tool/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/circulationdesk-export-tool/#developers)

 [支持](https://wordpress.org/support/plugin/circulationdesk-export-tool/)

## 描述

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://wordpress.org/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; } );
    ```

## 安装

Upload the zip via Plugins > Add New > Upload Plugin, or copy the
 circulationdesk-
export-tool folder into wp-content/plugins/. Then activate.

Document Library Lite or Pro must be active.

## 评价

此插件暂无评价。

## 贡献者及开发者

「CirculationDesk Export Tool for Document Library」是开源软件。 以下人员对此插件
做出了贡献。

贡献者

 *   [ arothmanmusic ](https://profiles.wordpress.org/arothmanmusic/)

[帮助将「CirculationDesk Export Tool for Document Library」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/circulationdesk-export-tool)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/circulationdesk-export-tool/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/circulationdesk-export-tool/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/circulationdesk-export-tool/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/circulationdesk-export-tool/)。

## 更新日志

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**3 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **7.1.2**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/circulationdesk-export-tool/)
 * 标签
 * [document library](https://cn.wordpress.org/plugins/tags/document-library/)[documents](https://cn.wordpress.org/plugins/tags/documents/)
   [download manager](https://cn.wordpress.org/plugins/tags/download-manager/)[export](https://cn.wordpress.org/plugins/tags/export/)
   [zip](https://cn.wordpress.org/plugins/tags/zip/)
 *  [高级视图](https://cn.wordpress.org/plugins/circulationdesk-export-tool/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/circulationdesk-export-tool/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/circulationdesk-export-tool/reviews/)

## 贡献者

 *   [ arothmanmusic ](https://profiles.wordpress.org/arothmanmusic/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/circulationdesk-export-tool/)