added epub to mobi exporter script

This commit is contained in:
Phuntsok Drak-pa 2019-03-11 15:11:20 +01:00
parent 9c89b02028
commit efe3a2ce14
1 changed files with 5 additions and 0 deletions

5
epub-to-mobi.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env fish
for file in (find -type f | grep epub | grep -v "epub-to-mobi" | sed 's/\.[^.]*$//')
ebook-convert $file.epub $file.mobi
end