Monday, 22 July 2013

Updating xml tags in xml files

http://www.daniweb.com/software-development/shell-scripting/threads/202018/modifying-xml-files-using-sed

for f in $( find . -name "*.xml" ); do sed -n "s/<idle>600<\/idle>/<idle>900<\/idle>/p" $f >> $f; echo "file:" $f;done

No comments:

Post a Comment