Not contain

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
imcal007
Posts: 16
Joined: Fri Feb 27, 2015 7:17 am

Not contain

Post by imcal007 »

I need to try and sort this out by the weekend, so any help appreciated.

I have hundreds of thousands of flac files from cds i have ripped

some have the time at the end of the name like this (03.45)
some have the time at the end of the name like this (3.45) with no leading (0
some have no time what so ever at the end of the name

i am trying to find the ones that have no time at the end of the name

Is there a easy way to achieve this , it will save me a lot of time.
void
Developer
Posts: 15349
Joined: Fri Oct 16, 2009 11:31 pm

Re: Not contain

Post by void »

Please try the following search:

*.flac !regex:\(\d+\.\d+\)\.flac$

*.flac = match flac files only.
! = NOT
regex: = enable regular expressions.
\( = match a single literal (
\d+ = match 1 or more digits (0-9)
\. = match a single literal .
\d+ = match 1 or more digits (0-9)
\) = match a single literal )
\. = match a single literal .
flac$ = match the extension and end of the filename.



edit:

To find the folders containing the files without the length:

child:*.flac !regex:child:\(\d+\.\d+\)\.flac$
imcal007
Posts: 16
Joined: Fri Feb 27, 2015 7:17 am

Re: Not contain

Post by imcal007 »

Works perfectly, on the small sample ive chosen, thankyou.
Post Reply