Text search in Synchronize directories
Moderators: Hacker, petermad, Stefan2, white
Text search in Synchronize directories
Hi
I have a search filter defined and saved:
search for: *.txt;*.ini
find text: [Data]
and when I use this filter in synchronize directories the 'search for' is applied but the 'find text' is NOT.
Is this a bug or am I doing it wrong?
I have a search filter defined and saved:
search for: *.txt;*.ini
find text: [Data]
and when I use this filter in synchronize directories the 'search for' is applied but the 'find text' is NOT.
Is this a bug or am I doing it wrong?
Re: Text search in Synchronize directories
How do you load saved search?
From dropdown list as "*.txt;*.ini" or from "1x" button?
The latter is a right way.
Re: Text search in Synchronize directories
Hi Gral, I use the "1x" button.
Re: Text search in Synchronize directories
And you choose one of the saved search then?
Re: Text search in Synchronize directories
Yes, I choose one of the saved search.
In the dropdown it then shows ">*.txt;*.ini containing Data section"
In the dropdown it then shows ">*.txt;*.ini containing Data section"
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Text search in Synchronize directories
Could you try to rename the saved search? The wildcards in the name are probably causing your problems.
In my tests, the content search seems to work also in synchronize dirs.
In my tests, the content search seems to work also in synchronize dirs.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Text search in Synchronize directories
Hi,
After renaming the searchcriteria it seems to work. Thanks.
After renaming the searchcriteria it seems to work. Thanks.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Text search in Synchronize directories
I have checked the code - it doesn't work when the name contains at least one semicolon ";". The reason is that the function expects wildcards separated by spaces, not semicolons, e.g.
*.txt *.ini
not
*.txt;*.ini
so they get replaced. While this works when you enter wildcards directly, it fails when you use a stored search name, which was added much later. I will disable the function which replaces ";" by " " when using a stored search.
*.txt *.ini
not
*.txt;*.ini
so they get replaced. While this works when you enter wildcards directly, it fails when you use a stored search name, which was added much later. I will disable the function which replaces ";" by " " when using a stored search.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Text search in Synchronize directories
Hi Christian, thanks for the explanation.
Solved! (I was looking for a 'solved' button in the forum but I couldn't find one)
Solved! (I was looking for a 'solved' button in the forum but I couldn't find one)
Re: Text search in Synchronize directories
You can edit your first post in this thread and add [Solved] to the start of the subject.GerA wrote: 2022-09-29, 08:12 UTC Solved! (I was looking for a 'solved' button in the forum but I couldn't find one)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Text search in Synchronize directories
I have fixed this in TC 10.52 release candidate 1 and later, please check it! So now you can use semicolons ";" in the names of saved searches and use them in synchronize direcories.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Text search in Synchronize directories
This should be fixed in TC 11 beta (actually already in 10.52), please test it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Text search in Synchronize directories
2ghisler(Author)
GerA already confirmed it solved in his post from Thursday 29-09-2022, 10:12:47
GerA already confirmed it solved in his post from Thursday 29-09-2022, 10:12:47
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar