Hi,<\/p>\n
I got a csv file that has the following information<\/p>\n
IMAGE_NAME,Voucher\n00067050.pdf,112222\n00067052.pdf,33232\n00067054.pdf,EXCEPTION\n00067056.pdf,224344\n00067058.pdf,33344\n00067060.pdf,5454\n00067062.pdf,EXCEPTION\n00067065.pdf,55555\n00067068.pdf,45454\n00067070.pdf,EXCEPTION\n00067074.pdf,54445\n00067076.pdf,EXCEPTION\n00067080.pdf,77776\n00067092.pdf,756767\n00067094.pdf,EXCEPTION\n00067095.pdf,7567566\n00067097.pdf,EXCEPTION\n\n<\/code><\/pre>\n
Advertisement
The IMAGE_NAME corresponds to a file that exists in the folder. I want to copy the files to a subfolder (Upload) if the ‘Voucher’ Column has number inside and not the word ‘EXCEPTION’<\/p>","upvoteCount":2,"answerCount":12,"datePublished":"2020-05-12T12:43:26.000Z","author":{"@type":"Person","name":"mallarc","url":"https://community.spiceworks.com/u/mallarc"},"acceptedAnswer":{"@type":"Answer","text":"