Looking for a search string to find corrupt files

General discussion related to "Everything".
Grumpy John
Posts: 2
Joined: Thu Sep 03, 2026 4:38 am

Looking for a search string to find corrupt files

Post by Grumpy John »

I recently had reason to do a clean install of windows. Initially this did not concern me as a regularly do a backup of my system files and C: drive using Acronis True Image. Unfortunately all the files Acronis restored corrupted extensions, a tilde (~) followed by eight random alpha/numeric characters (see attached screenshot), so I had to reinstall all my programs manually.
The issue is I now have a computer full of useless files, I have managed to find and delete a few thousand files using Everything and search for extensions with a tilde. I have managed to find and delete most of the common extensions such as .exe, .wav .dll etc. but there are still many files to remove.
I need help creating a search string to look for files ending with a ~ and eight random alpha/numeric characters.
Screen Shot 2026-08-21 at 11.26.33.456 AM.png
You do not have the required permissions to view the files attached to this post.
Last edited by Grumpy John on Thu Sep 03, 2026 8:01 am, edited 1 time in total.
void
Developer
Posts: 20206
Joined: Fri Oct 16, 2009 11:31 pm

Re: Looking foe a search string to find corrupt files

Post by void »

Please try the following search:

regex:~[a-z0-9]{8}$


regex:
= enable regular expressions
~
= match a literal ~
[a-z0-9]
= match a-z, A-Z, or 0-9
{8}
= match the previous element 8 times
$
= match the end of the filename
Grumpy John
Posts: 2
Joined: Thu Sep 03, 2026 4:38 am

Re: Looking foe a search string to find corrupt files

Post by Grumpy John »

Thank you, that search string worked perfectly.