Feature Request: Search and replace in multiple files

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
petergus
Member
Member
Posts: 164
Joined: 2003-02-06, 16:28 UTC
Location: Sweden, Enköping
Contact:

Feature Request: Search and replace in multiple files

Post by *petergus »

Search for a text in multiple files and replace it with something else.

I can't find search & replace in current search function.


//Peter
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Re: Feature Request: Search and replace in multiple files

Post by *pdavit »

petergus wrote:Search for a text in multiple files and replace it with something else.

I can't find search & replace in current search function.


//Peter
What you are asking is rather a completely different feature than the task the search function has. It’s a search for files and that’s it!

Applications that do allow multiple search & replace are file editing tools and not file searching tools.

Let’s not confuse file searching and string searching. The ability of TC to search for text within a file is emphasized on the file and not on the string itself even if the string is what the user is trying to locate.

Probably what you are asking should be applied to Lister and not the search function.
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Re: Feature Request: Search and replace in multiple files

Post by *djk »

petergus wrote:Search for a text in multiple files and replace it with something else.
AFAIK it's not implemented in TC.
I think, however, many people use different tools to replace text in multiple files and as it's related to files (like TC :-) ) - it could be a good idea to implement it in TC.
What do you think about it Christian?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
petergus
Member
Member
Posts: 164
Joined: 2003-02-06, 16:28 UTC
Location: Sweden, Enköping
Contact:

Re: Feature Request: Search and replace in multiple files

Post by *petergus »

pdavit wrote:Probably what you are asking should be applied to Lister and not the search function.
My idea was a totally new function called Search and Replace Tool.

Mark a couple of files or a folder and enter the Search and Replace tool.
Just like you do in Multi-Rename-Tool & Synchronize Dirs tool.

// Peter
User avatar
pdavit
Power Member
Power Member
Posts: 1529
Joined: 2003-02-05, 21:41 UTC
Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
Contact:

Re: Feature Request: Search and replace in multiple files

Post by *pdavit »

petergus wrote:
pdavit wrote:Probably what you are asking should be applied to Lister and not the search function.
My idea was a totally new function called Search and Replace Tool.

Mark a couple of files or a folder and enter the Search and Replace tool.
Just like you do in Multi-Rename-Tool & Synchronize Dirs tool.

// Peter
Or that! ;)
"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-10, 20:34 UTC, edited 1 time in total.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Or here:
http://www.agentransack.com/

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

You are right, there are really lot of different "Search & Rename" tools but... I still would like to see it in TC

As I often do lot of operations on text files just with notepad or similar tools (very often I search files with specified text in the disk and then replace some texts file by file), it would be really helpful to be able to do it with TC instead of using other tools

But that's only my dream...
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

2Hacker
AgentRansack cannot replace text, just search, can it?

2norfie
Didn't try this but I like Search and Replace by www.funduc.com. It is able to search for multiple lines and replace with multiple lines in multiple files, with regular expressions. Very powerful. Can be invoked on selected files/folders via context menu (integrated in a shell).
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

AgentRansack cannot replace text, just search, can it?

Errr... dunno... has been recommended IIRC, haven't tested it myself. :oops:

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Wheelie
Junior Member
Junior Member
Posts: 17
Joined: 2003-03-04, 15:09 UTC
Location: Holland

Post by *Wheelie »

I'm not sure but I think the old NC or NE had a function for this and it was real nice, next file and next item and prev and change all.

Used it alot for my ACAD lisp files, so I think it would be nice to have it in TC.
Sam York
Junior Member
Junior Member
Posts: 61
Joined: 2003-08-14, 20:42 UTC

Re: Feature Request: Search and replace in multiple files

Post by *Sam York »

petergus wrote:
pdavit wrote:Probably what you are asking should be applied to Lister and not the search function.
My idea was a totally new function called Search and Replace Tool.

Mark a couple of files or a folder and enter the Search and Replace tool.
Just like you do in Multi-Rename-Tool & Synchronize Dirs tool.

// Peter
Indeed, these is a long awaited and a very useful function that still TC misses it !
mrietvel
Junior Member
Junior Member
Posts: 2
Joined: 2003-08-20, 10:16 UTC
Contact:

Post by *mrietvel »

This would be a great feature!

I have been using Total Commander for many years now. During this time I had it almost continuously active on my desktop and I use it on a daily basis. :D

The lack of this feature is however for me a single point of anoyance. Today has been the third time this year I have been moving around some HTML and XML files, in which I need to replace one string for an other. In this case the changed company logo. I use Total Commander for renaming files, moving them around, finding the files with the old logo, starting notepad, uploading to the web server, etc. However, at the moment I want to replace the logo with a new one ..... I have to search for a stand alone search and replace tool, select the files with this tool, etc.

Oh yes, I would be very very very happy with search and replace functionality. Even more happy then I'm already with Total Commander 5.5 :wink:
User avatar
zweistein
Junior Member
Junior Member
Posts: 38
Joined: 2003-08-08, 09:49 UTC
Location: Gent, Belgium

Post by *zweistein »

I have to search for a stand alone search and replace tool, select the files with this tool, etc.
Well I just select the files or directories in TC and - through the right mouse menu - apply Eluent Replace on them. Dear I say that I find it an even better work of art^H^H^Hsoftware then TC? www.eluent.com
deckard
Junior Member
Junior Member
Posts: 80
Joined: 2003-10-10, 09:18 UTC

Post by *deckard »

I know this is a very old thread but it's one of the few on this subject on this forum.

I just wanted to add my support for the request of a "multiple file search & replace" feature!

cz
Post Reply