I want to replace only the titles of a group of pages in certain folder all at once without going thru page by page. Is there a way to do that? Please let me know ASAP. Are there other efficient way to do it.?
I want to replace only the titles of a group of pages in certain folder all at once without going thru page by page. Is there a way to do that? Please let me know ASAP. Are there other efficient way to do it.?
Code:sed 's/<title>Old Title<\/title>/<title>New Title</title>/i' /path/to/folder/*.html
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Well sorry but how or where do i execute the command?
In a shell on a UNIX-based machine.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks