Dewey find, sort and look after big folder libraries
Search by file name and folder, get suggestions for where the files in your New / ToAdd / ToSort folders belong, find duplicates and missing episodes, and keep an index of unplugged disks. Nothing moves without your confirmation, and every move can be undone.
In your language
English
Find, sort and look after your big folder libraries. Search by file name and folder, auto-suggest where New/ToAdd/ToSort files belong, find duplicates and missing episodes, keep an index of unplugged disks, and check that every film has subtitles in your languages. Command line and desktop app for Linux. Nothing moves without your confirmation, and every move can be undone.
עברית
חיפוש, מיון וטיפול בספריות תיקיות גדולות. חיפוש לפי שם קובץ וגם שם תיקייה, הצעות אוטומטיות לאן שייכים קבצים מתיקיות New/ToAdd/ToSort, איתור כפילויות ופרקים חסרים, אינדקס של כוננים מנותקים, ובדיקה שלכל סרט יש כתוביות בשפות שלכם. שורת פקודה ואפליקציית שולחן עבודה ללינוקס. שום דבר לא זז בלי אישור, וכל העברה ניתנת לביטול.
Español
Busca, ordena y cuida tus grandes bibliotecas de carpetas. Busca por nombre de archivo y de carpeta, sugiere dónde van los archivos de New/ToAdd/ToSort, encuentra duplicados y episodios que faltan, recuerda los discos desconectados y comprueba que cada película tenga subtítulos en tus idiomas. Línea de comandos y aplicación de escritorio para Linux. Nada se mueve sin tu confirmación y todo se puede deshacer.
The program's own screens are in English, עברית and Español (switch at the top right of the window).
Screenshots
Find: the words match file names and folder names, so "asimov foundation" finds Books/Asimov/Foundation.epub. A test library.
Sort inbox: every item of the New folder gets a suggested destination learned from your own folders, with a percentage and the reason. Only confident guesses are ticked; nothing moves until you press Move.
Duplicates: byte-identical files, one marked KEEP. Nothing is deleted: ticked copies move to a folder you choose, and Undo puts them back.
Reports: totals, space by kind, biggest files and folders, empty folders, unplugged drives and items waiting in the inbox folders.
What it does
Find by name and folder
A local SQLite index of every file and folder under the folders you add. Each file is indexed with its own name plus the names of all its parent folders, so in:pink mother finds Music/Pink Floyd/The Wall/04 Mother.mp3. Filters: kind:, ext:, in:, under:, "exact phrase". Any language works, Hebrew included.
Inside files and tags
dewey scan --content also reads the text of EPUB, DOCX, ODT and subtitles, small text and source files (so you can find a command inside your notes) and, with --pdf, PDFs through pdftotext. Tags of mp3, FLAC and EPUB are searchable.
Sort the inbox folders
For every item in a folder named New, ToAdd or ToSort (editable) it proposes up to three destinations learned from your existing structure: the kind of file, folders already holding similar names, and folders whose name matches a word. Your own rules.ini beats the guesses. A whole album moves as one item.
Safe moves
Never overwrites (adds " (1)"), skips files still downloading, copies and checks the size before deleting when the target is on another disk, journals every move, and dewey undo restores the last batch.
Duplicates, related, gaps
Exact copies by size, quick hash and full MD5, with one marked KEEP; same-title files with different bytes listed separately. Find related shows companions (movie and subtitles) and other versions. dewey gaps lists missing numbers in a series (S01E05, vol 3, track numbers).
Illustrated guide, built in
The window's Help button and dewey help [en|es|he] open an illustrated, step-by-step guide with screenshots and examples for books, movies, series, music, source code and documents, in English, Español and Hebrew. Read it online.
Unplugged disks
Label a removable disk and its index stays searchable when it is unplugged: hits are marked offline, scans skip it without forgetting anything, and the sorter never proposes a folder on a disk that is not there.
Subtitles in your languages
dewey subs lists films and episodes that lack a real .srt in the languages you choose. --fix converts other subtitle formats, can fetch from OpenSubtitles, translate through your own LibreTranslate server and transcribe with whisper.cpp. New files only; machine-made ones are logged.
Command line, window and JSON
Every command has a command-line form and every query accepts --json. The window has five tabs (Find, Sort inbox, Duplicates, Reports, Library). A small read-only PHP endpoint (token, this machine only, no write commands) lets another page read the index.
Requirements
- Linux x86-64. The binaries were built on Linux Mint 22 (an Ubuntu 24.04 base) with Free Pascal 3.2.2; the window needs GTK 2 (
libgtk2.0-0) and every build needslibsqlite3with FTS5 (standard). - Optional:
pdftotext(poppler-utils) for PDFs,ffmpegfor subtitle conversion, a LibreTranslate server and a whisper.cpp model for the subtitle steps.
Install and first run
unzip dewey-linux.zip && cd dewey ./linux/install.sh # puts dewey and dewey-gui in ~/.local/bin and adds a menu entry; no sudo dewey add ~/Books ; dewey add /media/data # the folders to index dewey scan --content # first scan; later scans only touch what changed dewey find asimov foundation dewey sort --dry # preview the suggestions; moves nothing dewey sort # y / 1-3 / n / m / q for each item dewey undo # put the last batch back
To build it yourself: fpc -Mobjfpc -Sh -O2 -Xs -Fusrc -FUbuild -obuild/dewey src/dewey.lpr for the command line and lazbuild dewey.lpi for the window (the sources are in the zip).
Install on Windows
Windows 10 or 11, 64-bit. No administrator rights are needed: everything goes into your own profile.
Expand-Archive dewey-windows.zip -DestinationPath dewey-win ; cd dewey-win powershell -ExecutionPolicy Bypass -File install.ps1 # dewey.exe, dewey-gui.exe and sqlite3.dll to %LOCALAPPDATA%\Programs\Dewey, your path, a Start menu entry dewey add D:\Books ; dewey scan # in a NEW terminal window dewey find asimov foundation dewey sort --dry
- You can also just unzip and run
dewey-gui.exeordewey.exefrom the folder: nothing has to be installed (keepsqlite3.dllnext to them). - SmartScreen. The programs are not signed yet, so a file downloaded with a browser can show “Windows protected your PC” with “Unknown publisher”. Choose More info, then Run anyway.
install.ps1removes the download mark from its own files, so the installed program starts without that prompt. The installer also tells you, before it installs anything, that the program is not digitally signed, and prints the SHA-256 of the program file. A company rule that blocks unsigned programs still applies: ask your IT group to allow the SHA-256 of the zip in the table below, or of the program file:dewey-gui.exe 0e9db971dc534723b70ae13d1d18da1202bdda3c120c73fa5e5618155c647c21anddewey.exe 6e07e035f88a4ee9f64cba7d533c58a1400a03ba1e73a324cca973977206ffe7. - Your library and settings are in
%APPDATA%\dewey.uninstall.ps1removes the program and keeps them. sqlite3.dllis the official 64-bit DLL from sqlite.org, unchanged. The window, the command line and the guide (Help button) work the same as on Linux.
Download
| File | Size | SHA-256 |
|---|---|---|
| dewey-windows.zip Windows 64-bit: command line, window, sqlite3.dll, installer | 9.3 MB | 8ba44d2c74ddcf9fe4738e6745f3446ccfa0ce79e78447555858a0b6c1eada17 |
| dewey-linux.zip sources, guides, installer, command line and window binaries | 4.1 MB | 575073323620143160d34d9f7532c45454fcf44c3a231d6437856dfe60555a47 |
Read the user guide before your first sort.
Honest status
- Tested on a synthetic library (books, films, music, sources, Hebrew names) for indexing, find, sort, real moves and undo, duplicates, related, gaps, reports, rules and unplugged-drive behaviour, and the window on a virtual display. Not tested on a library of hundreds of thousands of files (the first scan should take minutes), on Windows or on a Qt build.
- Windows: built with a cross compiler and tested on a small synthetic library in a Windows 11 virtual machine as a standard user: install, update and uninstall, add, scan, find, where, report, duplicates with move and undo, sort suggestions, and the window (Dark and Light, Find, Library, Help). Not tested on Windows: moves from the Sort inbox tab of the window, searching inside documents, PDF text, network drives, very long paths.
- The subtitle steps were tested only against stand-in servers: OpenSubtitles may need small adjustments to its current API terms.
- Suggestions are heuristics. A file with only a number or a year in its name carries no clues and gets a weak guess that is never accepted automatically.
- Built for one person's libraries and shared as is. Preview with
dewey sort --dryand try it on a copy first.
Licence and credits
Free to use. Written in Free Pascal and Lazarus; uses SQLite (public domain) and optional poppler, ffmpeg, LibreTranslate, whisper.cpp and OpenSubtitles through their own terms.