blob: c3833c17262a437a4aa90c4023a4cf2c2282eb67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
input="$1"
title="$2"
author="$3"
output="${input%.*}.mobi"
if [ "$2" = "" ]; then
echo "$(basename $0): usage: $(basename $0) input_file title author"
exit 1
fi
ebook-convert "$input" "$output" \
--output-profile kindle_pw \
--authors "$author" \
--title "$title"
|