I'm curious how can I find files with weird names in my folder structure. Its worth to mention that here I have over 70GB of subfolers and files inside so must to find/search it "not by hand". Filenames which I want to find (later I want delete them ) look like this:
Image: https://i.ibb.co/0tZ72z7/Weird-Names.jpg
I must isolate / delete / rename / whatever these files before syncing to the cloud - some files can't be synced because of weird filenames as I suppose.
What steps should be taken by me after initial Alt-F7 step ?
what is intresting (and maybe important maybe not) is that screen from my 1st post was taken from OneDrive app - it sees these files in this way like on 1st screen. But when I look at these files in TC then I see like this:
Image: https://i.ibb.co/8jMKfp9/Weird-Names2.png I marked using red arrows files with weirn names, next 2 files (eyebolts... and gasket... below have normal names)
Well, I would take a file name with very few special characters from the PC for testing,
and find out the code for one special character (-> charmap.exe).
After that I would do a RegEx query as shown already in the examples above and rename the file
and then upload the file to OneDrive and check how it is displayed.
Example: Á (-> as shown in your picture!)
U+00C1
LATIN CAPITAL LETTER A WITH ACUTE
Search in separate process... Alt+Shift+F7
TC - Search for: \x{00C1} .... [X] RegEx
But I am NOT sure if the correct display of files is just a SETTING thing!
The "Find text:" field is for searching INSIDE the files - for searhing file names you have to use the "Search for:" field and then check the "RegEx" box, not the "RegEx (2)" box.
Last edited by petermad on 2021-01-03, 09:27 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14 TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
aaaaa yes, thank you.
Then I created this regex to find files with filenames NOT containing expected characters ------> [^., aąbcćdeęfghijklłmnńoópqrsśtuvwxyzźż] and tested it on https://regexr.com/ and it find me these weird files - what I expected. Thank you