I think I agree with this. I believe that if you are heavily into group policy or a centralized registry it would be a harder conversion. But you can even “hack” bat files to work for both Linux and Windows depending on what launches it. I had to do that with a testing bot that I sometimes ran on windows, sometimes ran on Linux. It involves abusing the label system on bat (which translates to a command true which accepts no arguments on sh). Granted you are still writing both files but, using this method you can have the windows version of it on the same page as the bash version so you can go line by line instead of having a second file open
I think I agree with this. I believe that if you are heavily into group policy or a centralized registry it would be a harder conversion. But you can even “hack” bat files to work for both Linux and Windows depending on what launches it. I had to do that with a testing bot that I sometimes ran on windows, sometimes ran on Linux. It involves abusing the label system on bat (which translates to a command true which accepts no arguments on sh). Granted you are still writing both files but, using this method you can have the windows version of it on the same page as the bash version so you can go line by line instead of having a second file open