下面列出怎么对整个目录中的文件做dos2unix操作:
$ find . -type f -exec dos2unix {} ;
其中具体命令的解释如下:
find .
= find files in the current directory
-type f
= of type f
-exec dos2unix {} ;
= and execute dos2unix on each file found
-
顶
- 0
最后
以上就是神勇万宝路最近收集整理的关于dos2unix整个目录的全部内容,更多相关dos2unix整个目录内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复