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.
Looking for a search string to find corrupt files
-
Grumpy John
- Posts: 2
- Joined: Thu Sep 03, 2026 4:38 am
Looking for a search string to find corrupt files
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
Please try the following search:
= enable regular expressions
= match a literal ~
= match a-z, A-Z, or 0-9
= match the previous element 8 times
= match the end of the filename
regex:~[a-z0-9]{8}$regex:~[a-z0-9]{8}$-
Grumpy John
- Posts: 2
- Joined: Thu Sep 03, 2026 4:38 am
Re: Looking foe a search string to find corrupt files
Thank you, that search string worked perfectly.