Answers.Body: <p>since nobody answered, I did a search and found <a href="https://github.com/na--/ebook-tools" rel="nofollow noreferrer">ebook-tools</a>. Probably <code>organize-ebooks.sh</code> would have been the best choice, but I tried <code>rename-calibre-library.sh</code> and after a long sed script I ended up with the result I needed.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-24T14:29:17.223Z
Answers.LastActivityDate: 2020-06-24T14:29:17.223Z
Answers.UserDisplayName: mau
Body: <p>Is there a simple way for renaming a lot of ebooks, getting the relevant information from their metadata? Of course I can open the ebook, copy the data and renaming one file at a time, but since the information is always in the same place it should not be difficult to have a program or an app where I can specify a format (like for example &quot;%a-%t-%i&quot;) and ending up with titles like &quot;Terry Pratchett-Going Postal-9780060502935.epub&quot;</p>
  
Tags: <metadata>
Title: How to bulk renaming ebooks
UserDisplayName: mau
ThreadText: # How to bulk renaming ebooks
  
  (Asked by: username_0 on 2020-06-22)
  
  Is there a simple way for renaming a lot of ebooks, getting the relevant information from their metadata? Of course I can open the ebook, copy the data and renaming one file at a time, but since the information is always in the same place it should not be difficult to have a program or an app where I can specify a format (like for example "%a-%t-%i") and ending up with titles like "Terry Pratchett-Going Postal-9780060502935.epub"
  
  **Tags:** metadata
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-06-24. Score: 1
  
  since nobody answered, I did a search and found [ebook-tools](https://github.com/na--/ebook-tools). Probably `organize-ebooks.sh` would have been the best choice, but I tried `rename-calibre-library.sh` and after a long sed script I ended up with the result I needed.
  
  
  ---
  
  