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