经过git-bash一句话得到当前目录的所有csproj文件绝对路径

#!/usr/bin/env bash
find -iname *.csproj -exec cygpath --windows `readlink -f {}` \; | tee ${0%.sh}.txt

 

保存为 csprojfilelist.sh,注意换行符使用LF,若是git-bash关联了sh文件,直接双击就能够获得csprojfilelist.txt文件。git

相关文章
相关标签/搜索