find . -type -f -print0 | xargs -0 file
print0是为了是输出的文件名以null结尾,而xargs -0是为了接受以null结果的字符串。
安全完美的结合。
find . -type -f -print0 | xargs -0 file
print0是为了是输出的文件名以null结尾,而xargs -0是为了接受以null结果的字符串。
安全完美的结合。
转载于:https://www.cnblogs.com/StableDrift/archive/2011/09/12/2174271.html