0
votes
1answer
225 views

How to append xml data inside xml file with shell script?

script.sh #!/bin/sh mysql -u root -pmysql --xml << eof SELECT TABLE_NAME AS "Table Name", table_rows AS "Quant of Rows", ROUND((data_length + index_length)/1024/1024,2) AS "Total Size Mb" FROM ...
0
votes
2answers
538 views

Convert string to xml in shell script?

I have written a script which is fetching data from database. Now I want to enhance that script to create a xml file with data which is return by database. How may i convert that string to xml file ...