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
Michel Roux 7bdf52f83f
Some checks reported errors
continuous-integration/drone/push Build was killed
Make drone more readable
2021-05-18 15:21:20 +02:00

9 lines
179 B
Bash

#!/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