1

I'm wondering if anyone knows of a command that would search the contents of a file, then rename said file with the specific term that was found. Ideally, this would be run at a subfolder from powershell and batch rename all the files within the folder.

To showcase my specific example; I have a folder containing 100+ pdf files, each with a generic name. I have to open each file individually to get the title and then rename it as such. As you can all imagine, it is a very manual process that I would like to streamline with a command.

All comments are welcomed and greatly appreciated.

Thank you, RM

Ricardo
  • 11
  • 1
  • 1
    For this to be possible, the PDFs must contain metadata, especially title. Otherwise, it's impossible. – harrymc Jun 30 '19 at 19:19
  • 1
    If you're interested in doing this with PDFs, have a look at this [Super User question](https://superuser.com/q/1278479/302907). – Anaksunaman Jun 30 '19 at 19:59

0 Answers0