in reply to Re^15: search and replace strings in different files in a directory
in thread search and replace strings in different files in a directory
Dear Anonymous Monk
There might be some umlauts in some of the path names. Would that trigger the alarm?
The initial purpose of the file (before it becam a rather huge project for a novice like me) was to do the following:
read the path in the text-file provided by user
go to each directory specified by the path name
Look for any xml-files and open each one individually
in each xml-file replace certain strings
create a backup of the xml(s)
close the file(s)
close the directory
Hope that helps (it did for me to get an initial idea what I was going to do step by step)
Looking forward to your reply. Thanks for your help
Kind regards
C.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^17: search and replace strings in different files in a directory
by Anonymous Monk on Sep 03, 2014 at 08:14 UTC | |
by PitifulProgrammer (Acolyte) on Sep 03, 2014 at 12:11 UTC | |
by Anonymous Monk on Sep 03, 2014 at 18:06 UTC | |
by PitifulProgrammer (Acolyte) on Sep 04, 2014 at 08:47 UTC | |
by Anonymous Monk on Sep 04, 2014 at 09:19 UTC | |
by Anonymous Monk on Sep 04, 2014 at 10:31 UTC | |
|