Select by text pattern, # Fails

The best solution for finding and removing duplicate files.
Post Reply
User avatar
therube
Posts: 614
Joined: Tue Jun 28, 2011 4:38 pm

Select by text pattern, # Fails

Post by therube »

Duplicate Cleaner 2.1

Select by text pattern, # Fails

(I have not verified, nor do I know if DC3 is affected ...)

I am ... Select by text pattern |
Column: Path | Pattern: \\Nas\office\COPY\_LARRY\My Documents\Word\School#61\
Match, RE, & currently selected rows, are unchecked.

This fails to select any files, when it should.
I suspect that it is the # sign that is affecting things.

---

What I have been doing up to this point is to highlight a particular file (tree, if you will).
Select by location, & using the > to paste its path into the dialog
> \\Nas\office\COPY\_LARRY\My Documents\Word\School#61\Subcontracts\P&J\
Copying that, then pasting it into the Select by text pattern dialog, truncating the path to fit my needs.
> \\Nas\office\COPY\_LARRY\My Documents\Word\School#61\
Then clicking the Mark button.
(I'm doing it this way because, using the '>' makes it easy to get the path, then jump to the other Selection tab & paste it in & modify & go.)

Had no problems until the tree with the # came about.
User avatar
DigitalVolcano
Site Admin
Posts: 1717
Joined: Thu Jun 09, 2011 10:04 am

Re: Select by text pattern, # Fails

Post by DigitalVolcano »

You are correct, thanks for spotting that. # (and [ ) are special characters and need to be escaped. ('[' used on it's own will crash it)
This will be fixed in the next update of Duplicate Cleaner Free + Pro

As a workaround you can escape the # using square brackets - eg "school[#]61"
User avatar
therube
Posts: 614
Joined: Tue Jun 28, 2011 4:38 pm

Re: Select by text pattern, # Fails

Post by therube »

As a workaround you can escape the # using square brackets - eg "school[#]61"
Works, thanks :-).
User avatar
DigitalVolcano
Site Admin
Posts: 1717
Joined: Thu Jun 09, 2011 10:04 am

Re: Select by text pattern, # Fails

Post by DigitalVolcano »

Fixed now, in v3.0.6 :D

A fix for DC Free to follow.
Post Reply