1 2 3
#!/bin/sh cat /home/mythtv/appletrailer.xml | sed -e 's|http:/\/\movies.apple|http:\/\/apple|g' > /tmp/appletrailer.xml mv /tmp/appletrailer.xml /home/mythtv