INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: drosoph on July 10, 2003, 12:56:53 pm

Title: Is this possible? Find filenames with 2 -'s
Post by: drosoph on July 10, 2003, 12:56:53 pm
I want to find filenames with multiple instances of the same text string (in this case " - ") ... is this possible ?

Title: Re: Is this possible? Find filenames with 2 -'s
Post by: dougc on July 10, 2003, 01:08:45 pm
From a windows command line, use this:

dir *-*-* /s

In XP, the wildcard part ("*-*-*") by itself works as the search string if you select Search from the right click menu on a drive or folder.  That may be a new feature in XP but I'm not sure.

Doug
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: drosoph on July 10, 2003, 01:09:40 pm
I want to do this from within MC ..
As a search criteria ...
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: xen-uno on July 10, 2003, 01:42:04 pm
Create a new smartlist. Add the following as a rule...

[filename (name)] = " - "

The minus sign is usually interpreted as "not" so you may need the quotation marks...not necessary for alphanumeric chars.

10-27
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: drosoph on July 10, 2003, 01:45:20 pm
That only gets me HALF way there .. I want it to find files with " - " AND " - " in it ... TWO DASHES !!! and NOT together ..

basically "*-*-*"

but, from what I can see MC doesnt handle wildcards!
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: xen-uno on July 10, 2003, 02:11:40 pm
I think your SOL. Looks like MC finds the first instance and leaves it at that. So the second part of " - " and " - " merely refinds the same instance the first part did. You could write a VB routine in one of the MS Office apps...it would be fun.

10-27
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: drosoph on July 10, 2003, 02:16:28 pm
I can do this EASILY through ump-teen other apps .. its just that Im trying to use this in conjunction with Fill Properties from Filename where the file formats are different (Some have Artist - Name, some Artist - Album - Name,  and some Artist - Album - Track - Name ) ... If I break it out to 1, 2, & 3 "-"s I should be able to easily tag the files !!!
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: xen-uno on July 10, 2003, 02:33:09 pm
What other apps? Is it possible for the others to create a playlist (such as m3u) or generate a text file? An m3u is nothing but a text file with path and filename info. These could then be imported into MC.

10-27
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: drosoph on July 10, 2003, 02:38:20 pm
Alright ... lets get down to copper pushpins .. if i wanted to use another app .. I'd use Dr Tag!  Its a MUCH better smart-logic tagging utility!  and you can create "schemes" and it will choose the proper "scheme" to auto-tag ur files (Now THATS SWEET !!!)

But, I dont want to use another app ... I want MC to be able to do it :)
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: Doof on July 10, 2003, 08:15:41 pm
Isn't it "brass tacks"?

I'm honestly asking. It's one of those sayings I've only ever heard spoken.

brass tacks = tacks made of brass
brass tax = a tax on brass

Either way, I never quite understood what it meant.
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: JollyJim on July 10, 2003, 08:33:58 pm
It's 'Brass Tacks'. It comes, I'm pretty sure, from Yorkshire in the North of England where the locals are renowned for straight talking. It means getting down to basics.

Bit strange really, 'cos a tack (nail) made of brass would bend would'nt it ?

He does'nt sound very happy does he !!

Best wishes - Jim
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: Omni on July 10, 2003, 08:42:55 pm
Quote
Isn't it "brass tacks"?

Yes.

Quote
Either way, I never quite understood what it meant.


Refer to this link (http://www.word-detective.com/120398.html) for an explanation of its origins.
Title: Re: Is this possible? Find filenames with 2 -'s
Post by: drosoph on July 10, 2003, 10:00:29 pm
Now that you'e all discovered the semantics of a paranoid mind such as mine .. can we figure out how to search for files with multiple SAME search Strings ... or Wildcards ??