Thank you!!
https://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-5.htmlI've tried looking this up, but i don't think I am using the right terminology. But lets face it, searching is sometimes more of an art than anything else.In the code above, you will see in the URL that there is an 8008 and then another one at the end. As I program these, is there a way to define these at the beginning of the script? Something likeCode:
#!/bin/bash cec-ctl --tv -Scec-ctl --to 0 --image-view-on #sleep 120wget --no-dns-cache -N -P /home/pi/Videos/MM/ http://thomasventure.com/holodeck/MP8008/MiddleMenuVideo.mp4 -o 8008log.txtsleep 30cvlc -f -L --no-video-title-show /home/pi/Videos/MM/MiddleMenuVideo.mp4sleep 5sudo find /home/pi/Videos/LM/LeftMenuVideo.mp4* -ctime +1 -delete 2&>/dev/nullsudo find /home/pi/Videos/RM/RightMenuVideo.mp4* -ctime +1 -delete 2&>/dev/nullsudo find /home/pi/Videos/MM/MiddleMenuVideo.mp4* -ctime +1 -delete 2&>/dev/nullsleep 5trash-empty
Store = 8008
That way I don't have to dig thru the code to change everything that is needed.
Thank you for your help and time.
Chip
Statistics: Posted by Chipper2 — Sat Jun 29, 2024 2:23 am