[Samba] long scripts
Andy Pont
andy.pont at sdcsystems.com
Fri Oct 14 15:19:43 UTC 2022
Rowland wrote...
>I looked into this once, so I looked through my notes and found this at the time:
>
>https://stackoverflow.com/questions/17510688/single-script-to-run-in-both-windows-batch-and-linux-bash
>
>It is still there, just checked. I didn't get much further than that at the time, there was a change of direction.
I was just in the middle of composing a response to post exactly that
link. The methodology is a little convoluted but should allow you to
write a small common file that uses the appropriate calling technique to
execute either your windows.ps1 or linux.sh to do the platform specific
bits.
-Andy.
More information about the samba
mailing list