I have a very vital folder that is being "infested" with unknown files. The 500,000+ files have HEXadecimal Names and most of them are 0 bytes each. This is how the files names look like.
:
08/28/2019 04:20 PM 0 70F55530
08/28/2019 09:00 PM 0 70F55630
08/28/2019 04:37 PM 0 70F56530
08/28/2019 04:55 PM 0 70F57530
08/28/2019 09:34 PM 0 70F57630
08/28/2019 05:12 PM 0 70F58530
08/28/2019 09:52 PM 0 70F58630
:
I did a virus scan but found nothing. Incidentally, my original files are still in the folder.
I have tried deleting the strange files via git-bash:
find . -type f -name "[0-9]*" -delete
and also
find . -type f ! -name "*.*" -delete
but it takes so long.
I'm not sure of the regex to use and I don't want to delete my real files and folders. Is there a faster way of removing only those files with the hexadecimal names?