Backup TVH /usr/local/bin/bkuptvh.sh Restore TVH /usr/local/bin/resttvh.sh Search and Replace find /mnt/usbhdd/pvr/ -type f -exec sed -i 's#/mnt/usbhdd/pvr/#/#g' {} + find /mnt/usbhdd/pvr/ -type f -exec sed -i 's#/usr/local/bin/postrecord.sh#/scripts/postrecord.sh#g' {} + find /mnt/usbhdd/pvr/config/ -type f -exec grep -i "/mnt/usbhdd/pvr" {} + find /mnt/usbhdd/pvr/config/ -type f -exec grep -i "icon" {} + find /mnt/usbhdd/pvr/config/ -type f -exec grep -i "postrecord" {} + User Agent TVHeadend/4.3-2008~ge2ae8f4eb Tvheadend 4.3-2008~ge2ae8f4eb (echo Subject: TEST from $(hostname) $(date); echo; echo test)|/usr/sbin/sendmail -d60.5 -i -v ian@ianjones.org.uk echo "Subject: hello" | sendmail -v -f ian@ianjones.org.uk -S smtp.mail.me.com:587 -H 'openssl s_client -quiet -tls13 -starttls smtp -connect smtp.mail.me.com:587' -aujonesi100@icloud.com ian@ianjones.org.uk < mail.txt sendmail -f ian@ianjones.org.uk -S smtp.mail.me.com -amPLAIN -aujonesi100@icloud.com -apfrju-ywgj-ytwt-jyyp ian@ianjones.org.uk