Zotero attachment management tools for linked Dropbox workflows
Project description
Zotman
Zotman is a CLI toolset for managing Zotero PDF attachments using linked files in a structured Cloud (default: Dropbox) folder.
It supports:
- Automatically moving renamed PDFs from Zotero’s storage into a structured subject/year Cloud folder
- Extracting the published year from Zotero’s database to organize PDFs
- Cleaning up orphaned Zotero storage folders not linked to any library item
📦 Installation
pip install zotman
🚀 Usage
Move renamed Zotero PDFs
zotman move --cloud ~/Dropbox/Zotero
This will:
- Watch
~/Zotero/storagefor PDFs renamed by Zotero - Prompt you for a subject (e.g.,
AI,ML) - Look up the published year from
zotero.sqlite - Move the file to:
~/Dropbox/Zotero/<Subject>/<Year>/Author et al. - Title.pdf
The --cloud option allows you to set any base folder (e.g., Dropbox, Google Drive, OneDrive). The default is ~/Dropbox/Zotero.
Then, manually re-link the file in Zotero:
Right-click item → Attach Link to File…
Clean orphaned storage folders
zotman clean
This will:
- Read
zotero.sqlite - Identify unused subfolders in
~/Zotero/storage - Prompt before deletion
🧠 Why use Zotman?
Zotero stores files in random folders without year structure. Zotman helps:
- Organize files by subject and year
- Keep filenames clean
- Maintain a consistent Cloud (e.g., Dropbox)-based linked file setup
- Remove clutter from old unlinked folders
🛠 Future Plans
- Automatic re-linking
- Year range filters
- GUI and batch operations
📄 License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zotman-0.1.0.tar.gz.
File metadata
- Download URL: zotman-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cd1596a1ac59739107d16f6e31449fa1588c5e1e1bc6218c371fbfc92882b3b
|
|
| MD5 |
a3c37b5156169535d82393986516bc52
|
|
| BLAKE2b-256 |
b16e3825249d119597f909bca1ce1564a6f79b842a100809a33a64b112d0b2c4
|
File details
Details for the file zotman-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zotman-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a89d3d55b4c431fcafb869974f813831f24f31bc1d7a5bf42fbdffc4ec9ae93
|
|
| MD5 |
8e8614f45d5a15c64d0f27d3d541e99b
|
|
| BLAKE2b-256 |
d1fcb6829b1818034e67774a965a8e4e2b8c611ef91180a748bb6a5ca8ce6a3e
|