本文介绍了如何在整个目录上运行dos2unix?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我必须使用dos2unix
转换整个目录.我不知道该怎么做.
I have to convert an entire directory using dos2unix
. I am not able to figure out how to do this.
推荐答案
find . -type f -print0 | xargs -0 dos2unix
将递归地找到当前目录中的所有文件,并调用dos2unix命令这些文件
Will recursively find all files inside current directory and call for these files dos2unix command
这篇关于如何在整个目录上运行dos2unix?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!