我有一组要转换为 epub 的 pdf 文件。我知道 Calibre 的命令ebook-convert可以解决问题(我可以补充一下)。但是我有不止一个文件。
ebook-convert
我希望能够运行一个脚本,该脚本运行ls > file然后某些内容通过所述文件运行并解析它,因此每个条目都是一个变量。然后使用变量 to 作为输入文件ebook-convert;并以某种方式将变量作为输出文件,但将 a 附加.epub到文件名的末尾?
ls > file
.epub
shell io-redirection
io-redirection ×1
shell ×1