Hi, I have loads of files that for example look like this "Planets 2020-10-09 18-23-26-81.mp4", but the numbers are random, and many of them are duplicated but with different dates and file-sizes, so I need to find all the duplicates that has the same file names up to the first 30 characters, ignoring anything after, as some files could be named like the one above, but end with something like: "Overwatch 2018-12-26 18-23-26-814_898773-333.mp4"
I know how to search for duplicates, and the different filters like only check file size, file name, and/or date, but not how to make the search only checking the first 30 characters.
Thanks for any help.
Search for only the first 30 characters in file names and remove duplicates
Moderators: Hacker, petermad, Stefan2, white
Re: Search for only the first 30 characters in file names and remove duplicates
The best I found during my search was for columns only, not searching, and dunno how to use that method for searching instead. viewtopic.php?t=47435
Re: Search for only the first 30 characters in file names and remove duplicates
Try tab Advanced
Regards
Dalai
Code: Select all
[X] Find duplicate files [ ] same name [ ] same size [ ] same contents
[X] same plugin fields: [=tc.name:1-30]
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Search for only the first 30 characters in file names and remove duplicates
Oh, there's where the code is supposed to be put. I tried all kinds of combinations, but in the Value field under the Plugins tab.Dalai wrote: 2020-08-14, 16:35 UTC Try tab AdvancedRegardsCode: Select all
[X] Find duplicate files [ ] same name [ ] same size [ ] same contents [X] same plugin fields: [=tc.name:1-30]
Dalai
Anyway, no matter the number combination I try, it finds and lists all files anyway, no sorting.
Re: Search for only the first 30 characters in file names and remove duplicates
Ooooh, good thing I tried this: turns out I needed to include the brackets "[=tc.name:1-30]", as I first only entered "=tc.name:1-30". My bad.
It works, thanks so much
It works, thanks so much
