If you need to find a string recusively in files and replace with another string. Copy the following script into a file called replace.sh and run from a linux prompt

/.replace.sh
for file in $(find . -name '*.{FILEEXTENSION}'); do
	sed -e 's/{FIND}/{REPLACE}/' $file > $file.new
	mv $file.new $file
done

Back to Linux

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 10-Oct-2007 15:38 by UnknownAuthor
G’day (anonymous guest) My Prefs

All Pages

Page views: 763

Private Tomcat

Linux

Email

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
...nobody

JSPWiki v2.8.1