title_body: How to rename epubs when the file name is a numeric string?
upvoted_answer: I wrote a small python script to do that.
  pip install epub
  Install the epub library and run the below script with a sibling directory containing all your epub files to be renamed.
  import os
  import glob
  import epub
  
  dirName = &quot;books&quot; #the folder containing your epub files, should be in the
                    #directory which contains the script.
                    
  for File in glob.glob(dirName + &quot;\\*.epub&quot;):
      with epub.open_epub(File) as book:
          title = book.opf.metadata.titles[0][0]
  
      os.rename(File, dirName + &quot;\\&quot; + title + &quot;.epub&quot;)
  
  Note : The title should not be too long (not exceeding your os' filename limit).