neomorpheus
Programmer
I have a situation where there was an error in the code while uploading files that the temporary files that were uploaded were not deleted. So there exisits in multiple folders/directories, temp files ( for example : DOT TXT, DOT EXE..... no file name, just a DOT and file extension).
I am trying to come up with a method to look thru the various folders and then delete just the files that DO NOT have a file name. Files like (DOT EXE, DOT TXT). The folders that contain such files may also cotain other files which have proper file names and extensions.
Any suggestions on how to proceed??
I am trying to come up with a method to look thru the various folders and then delete just the files that DO NOT have a file name. Files like (DOT EXE, DOT TXT). The folders that contain such files may also cotain other files which have proper file names and extensions.
Any suggestions on how to proceed??