create epub2pdf conversion fn(x)

This commit is contained in:
MorganGeek 2020-07-14 10:35:29 +02:00
parent 56702d74f7
commit 061b1e4672

View File

@ -255,6 +255,12 @@ function mouse() {
esac esac
} }
# Conversion
function epub2pdf() {
local epub_file_name=$(echo $1 | sed 's/.epub$/.pdf/')
ebook-convert "$1" "$epub_file_name"
}
# Information gathering # Information gathering
function meteo() { function meteo() {
curl "fr.wttr.in/$*" curl "fr.wttr.in/$*"