Project

General

Profile

Bug #6150 » TVH.txt

Ian Jones, 2022-03-27 15:05

 
1
Backup TVH
2
/usr/local/bin/bkuptvh.sh
3

    
4
Restore TVH
5
/usr/local/bin/resttvh.sh
6

    
7
Search and Replace
8
find /mnt/usbhdd/pvr/ -type f -exec sed -i 's#/mnt/usbhdd/pvr/#/#g' {} +
9
find /mnt/usbhdd/pvr/ -type f -exec sed -i 's#/usr/local/bin/postrecord.sh#/scripts/postrecord.sh#g' {} +
10

    
11
find /mnt/usbhdd/pvr/config/ -type f -exec grep -i "/mnt/usbhdd/pvr" {} +
12
find /mnt/usbhdd/pvr/config/ -type f -exec grep -i "icon" {} +
13
find /mnt/usbhdd/pvr/config/ -type f -exec grep -i "postrecord" {} +
14

    
15

    
16
User Agent
17
TVHeadend/4.3-2008~ge2ae8f4eb
18
Tvheadend 4.3-2008~ge2ae8f4eb
19

    
20
(echo Subject: TEST from $(hostname) $(date); echo; echo test)|/usr/sbin/sendmail -d60.5 -i -v [email protected]
21

    
22
echo "Subject: hello" | sendmail -v -f [email protected] -S smtp.mail.me.com:587 -H 'openssl s_client -quiet -tls13 -starttls smtp -connect smtp.mail.me.com:587' [email protected] [email protected] < mail.txt
23
sendmail -f [email protected] -S smtp.mail.me.com -amPLAIN [email protected] -apfrju-ywgj-ytwt-jyyp [email protected]
(1-1/2)