2 releases (1 stable)

1.0.0 Jan 21, 2024
0.1.0 Jan 19, 2024

#1197 in Filesystem

MIT and GPL-3.0 licenses

16KB
334 lines

bookorg

bookorg is an opinionated, fast ebook organiser. It enforces:

  • Directory layout
  • File name format

It is forked from mack, a music organiser.

Installation

cargo install bookorg

Configuration

You can change the default format as follows:

bookorg --fmt '{author} - {title}'

The default is {author}/{title}. The epub extension is added automatically.

Example usage

Take all books from Library, Documents, and Downloads, move and organise them in the Library:

bookorg -n --fmt '{author} - {title}' -o ~/Library -- ~/Library ~/Documents ~/Downloads

Dependencies

~11MB
~172K SLoC