linux find中的-print0和xargs中-0的奥妙
2017-02-06
38
默认情况下, find 每输出一个文件名, 后面都会接着输出一个换行符 ("n"), 因此我们看到的 find 的输出都是一行一行的:复制代码代码如下:[bash-4.1.5]ls -ltotal 0-rw-r--r-- 1 root root 0 2010-08-02 18:09 file1.log-rw-r--r-- 1 root root 0 2010-08-02 18:09 file2.log[bash-4.1.5]find -name "*.lo...