Code: Select all
#!/bin/sh
touch /root/SomeTestFile
rox --RPC << EOF
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2001/12/soap-envelope">
<env:Body xmlns="http://rox.sourceforge.net/SOAP/ROX-Filer">
<SetIcon>
<Path>/root/SomeTestFile</Path>
<Icon>/usr/share/icons/hicolor/scalable/apps/pmusic.svg</Icon>
</SetIcon>
</env:Body>
</env:Envelope>
EOF
Greetings!