bash-converter

converting simple bash/shell scripts to windows batch files


Keywords
bash, shell, batch, converter, bash-hacks, batch-script, conversion, windows-batch
License
MIT
Install
npm install bash-converter@2.5.0

Documentation

Simple Bash script to Windows batch file converter

npm Coverage Status

Converts bash scripts (*.sh) to windows batch files (*.bat). This is not supposed to be a fully complete/correct tool, but rather a starting point when converting scripts. For simple scripts this might create correct results.

Try it online: https://daniel-sc.github.io/bash-shell-to-bat-converter/

Usage

npx bash-converter FILE_TO_CONVERT.sh

This creates FILE_TO_CONVERT.bat.

Contribute

PRs always welcome ;-)