unix2dos命令行工具的使用

E:\client-master\debug_client\frameworks\runtime-src\Classes>for /R %G in (*.c *.hpp *.h *.cpp) do unix2dos "%G"
利用SourceTree自带的unix2dos命令行工具将文档格式批量转换为Windows(CR LF)
step1:PATH环境变量新增:C:\Users\001\AppData\Local\Atlassian\SourceTree\git_local\usr\bin
step2:打开cmd,cd到指定目录,然后执行:for /R %G in (*.c *.hpp *.h *.cpp) do unix2dos "%G"

posted on 2022-01-06 09:22  梦回第四帝国  阅读(203)  评论(0编辑  收藏  举报

导航