Hi!
I am currently running TVHeadend on a RaspberryPi. It stores recordings in a folger which is accessible via a Samba Share. Now I want to move the available files from this samba share to a folder within TrueNAS regularly, let us say once a day.
My idea was to accomplish this with a CronJob. Can I simply do this by using the following command? Is smbget available?
aaa.bbb.ccc.dd = IP adress of raspberry pi / tv headend
eee.fff.ggg.hhh = IP adress of TrueNAS
Best regards and thanks for you valuable comments!
PS: I am using TrueNAS-12.0-stable
I am currently running TVHeadend on a RaspberryPi. It stores recordings in a folger which is accessible via a Samba Share. Now I want to move the available files from this samba share to a folder within TrueNAS regularly, let us say once a day.
My idea was to accomplish this with a CronJob. Can I simply do this by using the following command? Is smbget available?
Code:
smbget -Rr smb:\\aaa.bbb.ccc.dd\recordings -U "USERNAME@PASSWORD" -o \\eee.fff.ggg.hhh\[FOLDER]
aaa.bbb.ccc.dd = IP adress of raspberry pi / tv headend
eee.fff.ggg.hhh = IP adress of TrueNAS
Best regards and thanks for you valuable comments!
PS: I am using TrueNAS-12.0-stable
Last edited: