下面列出怎么对整个目录中的文件做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操作:
$ 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