postgres@somehost:~$ psql amd_power_dissipation -c "select table_to_xml('amd_bang_per_watt',false,false,'');" | tail -n +3 | head -n -3 > amd_bang_per_watt-table_to_xmlFF.xml; psql amd_power_dissipation -c "select table_to_xml('amd_bang_per_watt',false,true,'');" | tail -n +3 | head -n -3 > amd_bang_per_watt-table_to_xmlFT.xml; psql amd_power_dissipation -c "select table_to_xml('amd_bang_per_watt',true,false,'');" | tail -n +3 | head -n -3 > amd_bang_per_watt-table_to_xmlTF.xml; psql amd_power_dissipation -c "select table_to_xml('amd_bang_per_watt',true,true,'');" | tail -n +3 | head -n -3 > amd_bang_per_watt-table_to_xmlTT.xml;