Skip to content

Instantly share code, notes, and snippets.

@tigerjack
tigerjack / clean_zotero_storage.py
Created Apr 23, 2021
Remove/Move all the directories from Zotero storage directory containing PDF files not indexed by Zotero.
View clean_zotero_storage.py
import sqlite3
import os
import shutil
from typing import Dict, Iterable
import argparse
_PROG_DESC = """Process directories from Zotero storage dir containing non-indexed files
"""
View Rofi config
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.