I’m looking for a line of code that identifies missing files in a series of files and exports that list to a txt file. For example: a directory called 1to100000 contains pdfs named 1,2…99999,100000 but is missing some from the series. I would like the script to report those missing files to a txt file. Ideally this would be an executable perl script.
Thanks,
Jake
I’m looking for a line of code that identifies missing files in a series
Share
Just count from 1 to 100000 and check to see if the file exists.