In case anyone ever has a lot of files in one format that they need in the
other:

$ yum search unix2dos
tofrodos.x86_64 : Converts text files between MSDOS and Unix file formats

https://en.wikipedia.org/wiki/Unix2dos

all the best,

drew

On Tue, Feb 9, 2021 at 2:56 AM Jesse Jones <jessejones2...@gmail.com> wrote:

> Thanks yall - it's working!
>
> What I Have Learned
>
> In /etc/rd.conf the Audio Owner and the RnRmlOwner need to be "rd" or the
> linux user of the Rivendell automation
> ---and---
> The syntax of the RN line needs to include the ./ at the beginning of the
> path to the script
> ---and---
> The script needs to be written in a non-windows host.  Most of the failed
> attempts were actually failing because the Windows 10 Notepad used
> different linefeed and carriage returns so that the bash interpretor in
> CentOS 7 was looking for commands in a non-existant bin^M directory.  It
> only made a difference because RML "RN" is actually /bin/sh -c.  The -c
> asks for an internal shell command differently from the /bin/sh without the
> -c.  #!/bin/bash written in Windows is not the same as #!/bin/bash written
> in CentOS 7.
>
> Thanks to Octavio, Drew, and Mike who each put key parts of the puzzle
> together.
>
> On Mon, Feb 8, 2021 at 9:53 AM Mike Carroll <druidl...@gmail.com> wrote:
>
>> Your RN command shows just the script name.  Does it make a difference if
>> you code the entire path?  For example, we have a macro cart with: RN
>> /usr/local/bin/getuc.sh !  (We're still Riv2, so that may also be a factor.)
>>
>> Mike
>>
>> On Sat, Feb 6, 2021 at 8:21 PM Jesse Jones <jessejones2...@gmail.com>
>> wrote:
>>
>>>    I am sure I am making this harder than it has to be - but I am having
>>> trouble running a bash SCRIPT from inside a macro cart.  I had hoped to use
>>> RDCatch to run the script.
>>>    The script is executable via CLI/terminal using the line /bin/sh
>>> script.sh so I have the permissions ok and all that.  But when I run the
>>> macro RN script.sh! it fails.  The full path to the script is
>>> /bin/script.sh.
>>>    I read all you folk running these scripts but I can't seem to get my
>>> Rivendell 3.5 (appliance on CentOS 7) to follow suit.  By the way - I have
>>> found that percussive maintenance and cussive recitations haven't worked
>>> either.
>>>    Would someone please enlighten me on the secret to running bash from
>>> the macro cart?
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> Rivendell-dev@lists.rivendellaudio.org
>>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>>
>> _______________________________________________
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


-- 
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to