I’m trying to delete files (picture files) in a folder only if they’re not present in a specific database table.
Just like a check of filenames and if they’re present in the table it’s ok but if not delete them.
Any ideas how to do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just select all pictures that shouldn’t be deleted from database and go through all files.