分享一个简单的命令行工具,用于在 Windows 路径格式和 Linux (Git Bash/WSL) 路径格式之间进行转换。https://github.com/hyang0/w2l
echo "C:\Windows" | python w2l.py -l# 输出: /c/Windows
echo "/d/projects/code" | python w2l.py -w# 输出: d:\projects\code
Release 下有编译好的可执行文件,将其放到 PATH 目录下,在日常使用中更方便。