This repository has been archived on 2024-02-23. You can view files and clone it, but cannot push or open issues or pull requests.
Auberge_Vagabonde/convert.sh

9 lines
179 B
Bash
Raw Normal View History

2021-05-18 13:21:20 +00:00
#!/usr/bin/env bash
for FILE in output/*
do
ebook-polish -fpuiU "${FILE}" "${FILE}"
ebook-convert "${FILE}" "${FILE%.*}.pdf"
ebook-convert "${FILE}" "${FILE%.*}.mobi"
done