What is the easiest way to find and replace text in 20 text files in a directory?Windows : Replace character...
Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?
"The cow" OR "a cow" OR "cows" in this context
Alignment of various blocks in tikz
Why must Chinese maps be obfuscated?
Extension of 2-adic valuation to the real numbers
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
Can I criticise the more senior developers around me for not writing clean code?
Why does Mind Blank stop the Feeblemind spell?
Is there really no use for MD5 anymore?
What does ゆーか mean?
How to write a column outside the braces in a matrix?
What is the most expensive material in the world that could be used to create Pun-Pun's lute?
Is it idiomatic to construct against `this`
Is there any official lore on the Far Realm?
How to have a sharp product image?
Like totally amazing interchangeable sister outfits II: The Revenge
Critique of timeline aesthetic
How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?
Can an Area of Effect spell cast outside a Prismatic Wall extend inside it?
What are the steps to solving this definite integral?
How did Captain America manage to do this?
How to fry ground beef so it is well-browned
What is causing the white spot to appear in some of my pictures
Dynamic SOQL query relationship with field visibility for Users
What is the easiest way to find and replace text in 20 text files in a directory?
Windows : Replace character inside fileEasiest way to rename the extensions on 100 files in a directory in Windows 7?Find and Replace File UtilityIs there a filesystem/browser that provides tagging and dynamic views of files?what is the most common/efficient way of managing collections of batch files?Why can't I delete .exe files on my SSD Drive?Simplest way to erase and replace content of multiples text filesHow do I search my files for a suffix?How to organize files to easily access them later?How to compare files in 2 HDDs, find exact copies and different files and sync only what I need?Windows Explorer - Open all file select dialogs to last location used GLOBALLY
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have 20 text files with various extensions in a directory.
I want to replace "nnn" with "ooo" in all files.
I could import them into a project in Eclipse
or Visual Studio
to replace them all but that is overkill and would add other meta files etc.
What is a simple way to do this, I'm thinking: select all files, right click, choose some tool called (e.g. "QuickReplacer") and fill in find and replace, click and done.
Does anyone know of a tool like this?
windows-explorer file-management
add a comment |
I have 20 text files with various extensions in a directory.
I want to replace "nnn" with "ooo" in all files.
I could import them into a project in Eclipse
or Visual Studio
to replace them all but that is overkill and would add other meta files etc.
What is a simple way to do this, I'm thinking: select all files, right click, choose some tool called (e.g. "QuickReplacer") and fill in find and replace, click and done.
Does anyone know of a tool like this?
windows-explorer file-management
1
I'd like to point out that if you're already using Eclipse, bringing up the Find in Files (or whatever it's called) you can choose a Directory, rather than an existing project, to search. It shouldn't be hard from there to then run a find/replace on matched files.
– anonymous coward
Jul 31 '09 at 13:58
add a comment |
I have 20 text files with various extensions in a directory.
I want to replace "nnn" with "ooo" in all files.
I could import them into a project in Eclipse
or Visual Studio
to replace them all but that is overkill and would add other meta files etc.
What is a simple way to do this, I'm thinking: select all files, right click, choose some tool called (e.g. "QuickReplacer") and fill in find and replace, click and done.
Does anyone know of a tool like this?
windows-explorer file-management
I have 20 text files with various extensions in a directory.
I want to replace "nnn" with "ooo" in all files.
I could import them into a project in Eclipse
or Visual Studio
to replace them all but that is overkill and would add other meta files etc.
What is a simple way to do this, I'm thinking: select all files, right click, choose some tool called (e.g. "QuickReplacer") and fill in find and replace, click and done.
Does anyone know of a tool like this?
windows-explorer file-management
windows-explorer file-management
edited Jul 15 '14 at 14:03
Cfinley
1,43331220
1,43331220
asked Jul 31 '09 at 11:51
Edward TanguayEdward Tanguay
6,0633192124
6,0633192124
1
I'd like to point out that if you're already using Eclipse, bringing up the Find in Files (or whatever it's called) you can choose a Directory, rather than an existing project, to search. It shouldn't be hard from there to then run a find/replace on matched files.
– anonymous coward
Jul 31 '09 at 13:58
add a comment |
1
I'd like to point out that if you're already using Eclipse, bringing up the Find in Files (or whatever it's called) you can choose a Directory, rather than an existing project, to search. It shouldn't be hard from there to then run a find/replace on matched files.
– anonymous coward
Jul 31 '09 at 13:58
1
1
I'd like to point out that if you're already using Eclipse, bringing up the Find in Files (or whatever it's called) you can choose a Directory, rather than an existing project, to search. It shouldn't be hard from there to then run a find/replace on matched files.
– anonymous coward
Jul 31 '09 at 13:58
I'd like to point out that if you're already using Eclipse, bringing up the Find in Files (or whatever it's called) you can choose a Directory, rather than an existing project, to search. It shouldn't be hard from there to then run a find/replace on matched files.
– anonymous coward
Jul 31 '09 at 13:58
add a comment |
8 Answers
8
active
oldest
votes
GrepWin would do this among others, and it is a Explorer plugin.
However there is quite a big array of different applications available that can do this.
This SO thread on the topic also suggest WinGrep as an option.
installed it and did my search/replace within 3 minutes, thanks!
– Edward Tanguay
Jul 31 '09 at 12:02
add a comment |
Notepad++ can do it easily...
Search menu > Find in files.. menu item...
add a comment |
If you are familiar with Visual Studio, you can do that without creating a project. Do (something like): Edit>Find/Replace>Find in Files
. There you can specify a folder.
I've done this many times. I'd say it's only overkill if you had to create a project (you don't) or if you didn't have VS installed and needed it only for this request.
add a comment |
I find that Textpad is very useful for this kind of thing, amongst others.
add a comment |
I really like the WildEdit product by Helios Software (makers of the excellent Textpad text editor).
It's reliable, quick, flexible, and doesn't cost much (£8.50 = approx. 10 Euro) - well worth its price!
It handles ASCII, ANSI, UTF-8 and other encoding with no problem, you can pick a directory and a file mask (*.cs, *.as?x etc.) and apply the changes only to those files, and it will keep a backup of your original files in case you want to undo the change.
Marc
add a comment |
SciTE has this built in on Windows - so long as all the files are in the same directory (and is a very small and quick general purpose text editor into the bargain) - right click and 'Edit with SciTE' any one file in the directory, Ctrl+Shift+F, type in search and replace strings and an optional filename filter and click OK.
add a comment |
Sublime: Ctrl+Shift+f
Replaces text in all open files, or you can specify particular folder(s) by clicking …
.
Afterwards, hit File
> Save All
.
add a comment |
I know I'm a bit late to the Party, Just wanted to Mention this great free tool.
http://dngrep.github.io/
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f16262%2fwhat-is-the-easiest-way-to-find-and-replace-text-in-20-text-files-in-a-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
8 Answers
8
active
oldest
votes
8 Answers
8
active
oldest
votes
active
oldest
votes
active
oldest
votes
GrepWin would do this among others, and it is a Explorer plugin.
However there is quite a big array of different applications available that can do this.
This SO thread on the topic also suggest WinGrep as an option.
installed it and did my search/replace within 3 minutes, thanks!
– Edward Tanguay
Jul 31 '09 at 12:02
add a comment |
GrepWin would do this among others, and it is a Explorer plugin.
However there is quite a big array of different applications available that can do this.
This SO thread on the topic also suggest WinGrep as an option.
installed it and did my search/replace within 3 minutes, thanks!
– Edward Tanguay
Jul 31 '09 at 12:02
add a comment |
GrepWin would do this among others, and it is a Explorer plugin.
However there is quite a big array of different applications available that can do this.
This SO thread on the topic also suggest WinGrep as an option.
GrepWin would do this among others, and it is a Explorer plugin.
However there is quite a big array of different applications available that can do this.
This SO thread on the topic also suggest WinGrep as an option.
edited May 23 '17 at 11:33
Community♦
1
1
answered Jul 31 '09 at 11:53
BinaryMisfitBinaryMisfit
18.9k106276
18.9k106276
installed it and did my search/replace within 3 minutes, thanks!
– Edward Tanguay
Jul 31 '09 at 12:02
add a comment |
installed it and did my search/replace within 3 minutes, thanks!
– Edward Tanguay
Jul 31 '09 at 12:02
installed it and did my search/replace within 3 minutes, thanks!
– Edward Tanguay
Jul 31 '09 at 12:02
installed it and did my search/replace within 3 minutes, thanks!
– Edward Tanguay
Jul 31 '09 at 12:02
add a comment |
Notepad++ can do it easily...
Search menu > Find in files.. menu item...
add a comment |
Notepad++ can do it easily...
Search menu > Find in files.. menu item...
add a comment |
Notepad++ can do it easily...
Search menu > Find in files.. menu item...
Notepad++ can do it easily...
Search menu > Find in files.. menu item...
answered Jul 31 '09 at 12:03
spinodalspinodal
1,0881123
1,0881123
add a comment |
add a comment |
If you are familiar with Visual Studio, you can do that without creating a project. Do (something like): Edit>Find/Replace>Find in Files
. There you can specify a folder.
I've done this many times. I'd say it's only overkill if you had to create a project (you don't) or if you didn't have VS installed and needed it only for this request.
add a comment |
If you are familiar with Visual Studio, you can do that without creating a project. Do (something like): Edit>Find/Replace>Find in Files
. There you can specify a folder.
I've done this many times. I'd say it's only overkill if you had to create a project (you don't) or if you didn't have VS installed and needed it only for this request.
add a comment |
If you are familiar with Visual Studio, you can do that without creating a project. Do (something like): Edit>Find/Replace>Find in Files
. There you can specify a folder.
I've done this many times. I'd say it's only overkill if you had to create a project (you don't) or if you didn't have VS installed and needed it only for this request.
If you are familiar with Visual Studio, you can do that without creating a project. Do (something like): Edit>Find/Replace>Find in Files
. There you can specify a folder.
I've done this many times. I'd say it's only overkill if you had to create a project (you don't) or if you didn't have VS installed and needed it only for this request.
answered Jul 31 '09 at 11:57
Michael HarenMichael Haren
39421024
39421024
add a comment |
add a comment |
I find that Textpad is very useful for this kind of thing, amongst others.
add a comment |
I find that Textpad is very useful for this kind of thing, amongst others.
add a comment |
I find that Textpad is very useful for this kind of thing, amongst others.
I find that Textpad is very useful for this kind of thing, amongst others.
answered Jul 31 '09 at 12:00
RemouRemou
28819
28819
add a comment |
add a comment |
I really like the WildEdit product by Helios Software (makers of the excellent Textpad text editor).
It's reliable, quick, flexible, and doesn't cost much (£8.50 = approx. 10 Euro) - well worth its price!
It handles ASCII, ANSI, UTF-8 and other encoding with no problem, you can pick a directory and a file mask (*.cs, *.as?x etc.) and apply the changes only to those files, and it will keep a backup of your original files in case you want to undo the change.
Marc
add a comment |
I really like the WildEdit product by Helios Software (makers of the excellent Textpad text editor).
It's reliable, quick, flexible, and doesn't cost much (£8.50 = approx. 10 Euro) - well worth its price!
It handles ASCII, ANSI, UTF-8 and other encoding with no problem, you can pick a directory and a file mask (*.cs, *.as?x etc.) and apply the changes only to those files, and it will keep a backup of your original files in case you want to undo the change.
Marc
add a comment |
I really like the WildEdit product by Helios Software (makers of the excellent Textpad text editor).
It's reliable, quick, flexible, and doesn't cost much (£8.50 = approx. 10 Euro) - well worth its price!
It handles ASCII, ANSI, UTF-8 and other encoding with no problem, you can pick a directory and a file mask (*.cs, *.as?x etc.) and apply the changes only to those files, and it will keep a backup of your original files in case you want to undo the change.
Marc
I really like the WildEdit product by Helios Software (makers of the excellent Textpad text editor).
It's reliable, quick, flexible, and doesn't cost much (£8.50 = approx. 10 Euro) - well worth its price!
It handles ASCII, ANSI, UTF-8 and other encoding with no problem, you can pick a directory and a file mask (*.cs, *.as?x etc.) and apply the changes only to those files, and it will keep a backup of your original files in case you want to undo the change.
Marc
answered Jul 31 '09 at 11:57
marc_smarc_s
79852236
79852236
add a comment |
add a comment |
SciTE has this built in on Windows - so long as all the files are in the same directory (and is a very small and quick general purpose text editor into the bargain) - right click and 'Edit with SciTE' any one file in the directory, Ctrl+Shift+F, type in search and replace strings and an optional filename filter and click OK.
add a comment |
SciTE has this built in on Windows - so long as all the files are in the same directory (and is a very small and quick general purpose text editor into the bargain) - right click and 'Edit with SciTE' any one file in the directory, Ctrl+Shift+F, type in search and replace strings and an optional filename filter and click OK.
add a comment |
SciTE has this built in on Windows - so long as all the files are in the same directory (and is a very small and quick general purpose text editor into the bargain) - right click and 'Edit with SciTE' any one file in the directory, Ctrl+Shift+F, type in search and replace strings and an optional filename filter and click OK.
SciTE has this built in on Windows - so long as all the files are in the same directory (and is a very small and quick general purpose text editor into the bargain) - right click and 'Edit with SciTE' any one file in the directory, Ctrl+Shift+F, type in search and replace strings and an optional filename filter and click OK.
answered Jul 31 '09 at 12:02
robertcrobertc
5892918
5892918
add a comment |
add a comment |
Sublime: Ctrl+Shift+f
Replaces text in all open files, or you can specify particular folder(s) by clicking …
.
Afterwards, hit File
> Save All
.
add a comment |
Sublime: Ctrl+Shift+f
Replaces text in all open files, or you can specify particular folder(s) by clicking …
.
Afterwards, hit File
> Save All
.
add a comment |
Sublime: Ctrl+Shift+f
Replaces text in all open files, or you can specify particular folder(s) by clicking …
.
Afterwards, hit File
> Save All
.
Sublime: Ctrl+Shift+f
Replaces text in all open files, or you can specify particular folder(s) by clicking …
.
Afterwards, hit File
> Save All
.
answered yesterday
DuncDunc
2131212
2131212
add a comment |
add a comment |
I know I'm a bit late to the Party, Just wanted to Mention this great free tool.
http://dngrep.github.io/
add a comment |
I know I'm a bit late to the Party, Just wanted to Mention this great free tool.
http://dngrep.github.io/
add a comment |
I know I'm a bit late to the Party, Just wanted to Mention this great free tool.
http://dngrep.github.io/
I know I'm a bit late to the Party, Just wanted to Mention this great free tool.
http://dngrep.github.io/
answered Mar 13 '18 at 1:36
Pola EdwardPola Edward
991
991
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f16262%2fwhat-is-the-easiest-way-to-find-and-replace-text-in-20-text-files-in-a-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I'd like to point out that if you're already using Eclipse, bringing up the Find in Files (or whatever it's called) you can choose a Directory, rather than an existing project, to search. It shouldn't be hard from there to then run a find/replace on matched files.
– anonymous coward
Jul 31 '09 at 13:58