A command line catalog tool for your offline data.
After trying some other tools (CDcat, VVV, Basenji, GWhere, catcli) I ended up writing my own with these points in mind:
- no GUI: usable everywhere especially in remote terminals
- no extra libraries needed, only mature core tools
- data stored in a compressed and open format (gzipped json)
- easy way to browse a catalog with ncurses
- create a catalog (files index) for each desired removable media (CD/DVDs, hard/flash drives) or folder
- search for a file (name or regexp) on a single catalog or your entire collection
- browse a catalog with a nice dialog interface
-
ruby interpreter (no additional gems required) and common linux commands (
find
,sort
,pv
, anddialog
):apt install ruby findutils coreutils pv dialog
-
set executable bits on file:
chmod 755 dcat
action | command |
---|---|
create | dcat <i|index> catalog_name path |
list | dcat ls |
search | dcat <s|search> [catalog_name] regexp |
browse | dcat [catalog_name] |