Plugin
Zotero Mirroring Plugin
Author: Nara Avila | Published 02 Feb 2026
The library companion

Let your library become a folder tree

FS Mirror is a Zotero plugin that mirrors the collection hierarchy onto the filesystem and maintains linked PDF attachments. It connects the way you organize references in Zotero with the way you navigate files on disk. Install the packaged extension, choose a mirror root and use the collection context menu to reconcile an existing library tree.

Library

Organize references into Zotero collections.

Filesystem

Mirror that hierarchy into folders and linked attachments.

Maintenance

Reconcile a selected collection with its filesystem tree.

01

Download the packaged release

Open the repository’s Releases page, choose a release compatible with your Zotero version, expand Assets and download its .xpi plugin package. The source archive is intended for development. If a release has no XPI asset, use a release that provides the packaged extension.

Download the installable package from release assets.

Browse releases

02

Install it inside Zotero

In Zotero, open Tools → Plugins (or Add-ons, depending on the version). Open the gear menu, choose Install Plugin From File…, select the downloaded XPI and confirm installation. Restart Zotero if prompted. Check that FS Mirror appears in the plugin list. The inspected manifest declares compatibility with Zotero 7 through 8.

Install the package and verify that FS Mirror is enabled.
03

Choose the root of your mirrored library

Set the filesystem destination before sanitizing a collection. The plugin reads extensions.fs-mirror.rootDir for the mirror root and extensions.fs-mirror.logsDir for its logs. If your release has no dedicated settings panel, use Zotero’s advanced Config Editor to locate and set those preferences. Choose a writable folder and inspect a small collection first.

Configure the destination where the library hierarchy will be mirrored.
PreferencePurpose
extensions.fs-mirror.rootDirRoot folder for the mirrored library.
extensions.fs-mirror.logsDirFolder used for plugin logs.
extensions.fs-mirror.sanitizeRecursiveInclude descendant collections; default true.
extensions.fs-mirror.safeTrashDirNameInternal recovery folder; default _FSMirror_Trash.
extensions.fs-mirror.unfiledFolderFolder for items without a collection; default _FSMirror_Unfiled.
04

Sanitize a collection from its context menu

In Zotero’s collection tree, right-click the collection you want to reconcile and select FS Mirror: Sanitize this collection. This is the action referred to as “Sanear arquivos”. With recursive sanitizing enabled, the scan includes its child collections. Let the operation finish, then inspect the destination folders, linked PDFs and logs.

Right-click a collection to reconcile its attachments and mirrored folders.
05

A library you can navigate in two places

Collection hierarchy

Collection names and keys determine the mirrored folder tree, giving references an organized filesystem location.

Attachment reconciliation

Sanitizing distinguishes stored and linked PDFs and reconciles them with their planned destination paths.

Ongoing changes

Observers handle collection, item and collection-membership changes so the mirror can follow library activity.

Inspection and recovery

Logs help you inspect operations. The internal trash folder and unfiled folder support maintenance workflows.

Compare the library organization with its corresponding folders.
After sanitizing: a quick inspection
  • Open a linked PDF from Zotero and confirm that the file resolves.
  • Check representative annotations after migrating stored attachments.
  • Inspect collection folders and any errors in the plugin logs.

This page was last updated at 2026-11-03 16:10.