Re: Script to replace contents inside the files

2017-07-24 Thread Peter Otten
Kunal Jamdade wrote: > I have thousands of html files inside a folder. I want to replace the > filename present inside another files. Say for ex:- fileName :- > 'abcd1234.html' is found inside another file say file2.html. Then I want > to remove the last 4 digits of the fileName i.e,. 'abcd1234.ht

Script to replace contents inside the files

2017-07-23 Thread Kunal Jamdade
I have thousands of html files inside a folder. I want to replace the filename present inside another files. Say for ex:- fileName :- 'abcd1234.html' is found inside another file say file2.html. Then I want to remove the last 4 digits of the fileName i.e,. 'abcd1234.html' => 'abcd.htm'. I have tri