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
185 B
Bash
Raw Normal View History

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