Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 863 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 863 Bytes

fakebook-splitter

Splits fakebook pdf files into single files, each containing one song. Made possible by Adam Spiers' awsome book indices.

Prerequisites

Install latest Node JS LTS version.

Install PDFtk (Windows+Mac, Linux ) and make sure that the pdftk command is in the PATH.

Clone this project and run npm install.

Download index or just clone the index repository (git clone https://github.com/aspiers/book-indices.git).

Usage

Open shell in the root directory of this project.

Run node index.js CSV-FILE PDF-FILE OUTPUT-DIRECTORY, e.g. node index.js ../book-indices/RealBk1.csv input/REALBK1.PDF output/RealBk1.

Note that the output directory must exist.

Have fun! 🎶🎵