【发布时间】:2010-11-21 18:41:56
【问题描述】:
所以我有以下文件
Eoin Colfer - Artemis Fowl 01 - Artemis Fowl.lit
Eoin Colfer - Artemis Fowl 02 - The Arctic Incident.lit
等等。我想将每个点亮的文件放在不同的目录中,使用 Calibre 的 ebook-convert 将它们更改为 .txt 文件,去除空格的文件名。到目前为止,这就是我所拥有的。
查找电子书 -type f -iname '*.lit' -exec ebook-convert '{}' '{}'.txt
现在,如何删除文件名中的空格,以及如何删除文件名中的 .lit?
【问题讨论】: