![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Renaming a bunch of files | tokland | Shell Programming and Scripting | 2 | 10-03-2008 10:11 AM |
| replace UTF-8 characters with tr | ripat | Shell Programming and Scripting | 2 | 06-26-2008 08:43 AM |
| How do I rename a bunch of files at once? | bbbngowc | UNIX for Dummies Questions & Answers | 8 | 04-21-2008 10:23 AM |
| Renaming a bunch of files | Prashanth.m | Shell Programming and Scripting | 2 | 09-21-2005 02:16 AM |
| grep'ing for text within a bunch of files...? | kitykity | UNIX for Dummies Questions & Answers | 1 | 09-19-2000 09:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Replace Characters for bunch of Files.
Hi,
I am new to unix and looking out for some help in reading a file contents and replacing the characters, the requirement is I having a folder and having nearly 300 txt files, all the file contents contains some words we need to iterate all each and every files and need to find and replace it with another character. for example I am having a folder in a defined path /home/abc/total_files - inside the folder I am having nearly 300 txt files like one.txt,two.txt etc.., all the text files having word called "DW" (like one.txt is having words like "DW" and two.txt is having "DW") I need write a script while read each and every file and read the contents of the file and need to find the character "DW" and change into "DW2". Thanks in advance Kumar |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|