find exact match to filename

A collection of especially useful xplorer² topics and ideas. New users may find it helpful to look here before searching the other forums for information. >>>>>> Please post new material in the relevant forum. (New stuff posted here will be removed.) Thanks. -fg-

Moderators: fgagnon, nikos

BRX
Silver Member
Silver Member
Posts: 304
Joined: 2002 Feb 08, 12:12

Post by BRX »

Inforapid Search & Replace (freeware for non commercial use) is worth a look as well.

http://www.inforapid.de
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

Earlier in this topic, we hit upon a couple of simple workarounds to find (or filter for) an exact match. viz:
exactfilename,-     ("I want this, minus the * padding.")
and
exactfilename,.     ("I want this, period.")

In another thread, the negative question was posed:
viz: How does one exclude only a particular (exact) filename?.
For the exclusion case, it turns out that -exactfilename,. ("I want not this, period.") does not work because it is interpreted as "I want not this, and nothing else" -- which is, of course nothing at all.
The solution should be obvious. viz:
-exactfilename,*     ("I want not this, but everything else.")  or:
*,-exactfilename     ("I want everything, except this")

By the way, it turns out that
-exactfilename,-     ("I want not this, minus the * padding.")
works for the exact exclusion case as well as for the exact inclusion case. :)

PS to narayan - Earlier in the thread (over 14 months ago) you indicated you would add the exact name search to the UM, but I don't see it there. Now you can add something for both including and excluding exact name matches. ;)
narayan
Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan »

Oops! I'll do it.

BTW have I mentioned before that there is a much better find text and replace application: Text Crawler? Check it out!
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

@ Text Crawler -
(continuing Off Topic)
I don't recall your mentioning it before.
But it is just for text inside ascii files, no?
narayan
Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan »

yes. The best one.
raptor|3D
Member
Member
Posts: 17
Joined: 2007 Sep 28, 21:23

Post by raptor|3D »

The problem from the rich@pottruff´s original message could also be solved manually.

1. Flatten the folder where the "a" files reside (including subfolders). The scrap container appears.
2. Arrange the files by Extension.
3. Select the files without extension, invert the selection (* key), remove (File > Remove) the selected files (those with any extension) from scrap container.
4. Arrange the files by Name and select and remove all files that are not named "a" from the scrap container.

Now only files named "a" and without extension are left in the scrap container.

I find it to be actually quick and quite straightforward way.
Gandolf
Gold Member
Gold Member
Posts: 466
Joined: 2004 Jun 12, 10:47

Post by Gandolf »

It appears that using:

"01.jpg,." or "01.jpg,-" (without quotes)

no longer works to display files that match only 01.jpg, or have I missed a setting?

All files now appear to be displayed. I don't know when this changed, I only noticed it to-day and couldn't find any reference to a change.
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

confirmed!

The exactfilename match feature described earlier in this thread works in  v1.7.2.6  but not  in v 1.7.2.16[DBG] (& later vv)

I just checked both on winXP/sp3.
Gandolf
Gold Member
Gold Member
Posts: 466
Joined: 2004 Jun 12, 10:47

Post by Gandolf »

That's unfortunate.

I hope Nikos can either come up with a solution, or restore the previous situation.

I'll now will have to check some of the moving I've done since version 1.7.2.6 to see if anything has been moved incorrectly.
User avatar
nikos
Site Admin
Site Admin
Posts: 15760
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

there was i change i think but for the better; now you can enter
cat,dog
and it is equivalent to *cat* , *dog*

the workaround for 'exact' filename is to use a single question mark eg
01.jp?
Gandolf
Gold Member
Gold Member
Posts: 466
Joined: 2004 Jun 12, 10:47

Post by Gandolf »

Hmmm. That won't work.

If I want to find 01.001 but not 01.002 or 001.001 then I can't find an easy way to do it.

I just want to display the files that match the filter I enter - seems simple enough to me.

I still don't understand your logic of adding wild cards when not asked for, it just seems that "you" think you know what I want to find rather than allowing "me" to decide what to find.

At a quick glance I've got several hundred files in the wrong directories now, and have to do a lot of moving to get then right.
User avatar
nikos
Site Admin
Site Admin
Posts: 15760
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

only the files with extension 001 are few and far between!
Gandolf
Gold Member
Gold Member
Posts: 466
Joined: 2004 Jun 12, 10:47

Post by Gandolf »

Might be for you, but that is the extension (001, 002, etc...) that the studio editor software generates as backups - I have thousands of them!!!!

But the extension is not the point. The point is that I am unable to specify the filter I want because you think you know better, and decide to modify it.

How would you like it if selecting your favourite T.V. (or radio) program the broadcaster decided that you should watch what it wanted and not what you selected!!

We obviously aren't going to agree on this one, so I'll revert to FileLocator Pro for all my searching again.

Also, what about Excel files - *.xls, *.xla, *.xlt etc... or *.ini & *.inf. I'm sure there are dozens of files where using a wild card as the last character in the extension would not work.
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

nikos,

Now that you have removed a useful, although perhaps unintended, 'feature', I think you owe it to your users to provide an alternative way to achieve a real exactfilename match.  

As it stands, when we need to make such a filter, we are left with the cumbersome workaround of entering:
+exactfilename?,+?exactfilename
to separately defeat the unwanted pre and post * padding that you think everybody should like.

A nice solution for everybody, I think, would be a check-box for exact name match, as has been discussed in the past.  :shock:
User avatar
nikos
Site Admin
Site Admin
Posts: 15760
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

perhaps you have to think how many things are enabled with the new scheme!

if you can't match your last extension character you can match any one e.g. exactmatch.?ls
Post Reply