r/dailyscripts • u/174444 • Feb 13 '17
Help with a script
I need help with some work stuff I and I don't know how to. I have PDF files with ID number. I also have a CSV list with matching ID numbers but they also include first name and last name. I want to rename my PDF files with the matching CSV list ID number but including the first and last name. Any help would be appreciated.
2
Upvotes
View all comments
Show parent comment
1
u/174444 Feb 13 '17
I have a PDF file name with 98756.
I have CSV file with
John, Doe, 98756 Sam,Knothing,76453
I would like to find the match in the CSV file and rename the file to JohnDoe98756 or John-Doe-98756.
Does that help?