I have a few files I want to rename automatically using data found in the file. Basically it is a ton of invoices I have scanned. I want to find the keyword "invoice: " then grab the next 10 characters that follow that keyword and rename the file with those 10 characters.
So if I have a file named abc.txt with invoice: 1234567890 in it, it will then be renamed 1234567890.txt
Open in new window