Dan*_*Dan 4 linux find centos locate
我必须在存储单元上搜索特定文件类型,还想知道它们的所有者。
随着locate '*.txt' >> result.txt我发现我要找的所有文件,但我错过了业主这种方式。
locate '*.txt' >> result.txt
关于我如何正确地做到这一点的任何建议?
don*_*l24 5
locate -0 '*.txt' | xargs -r0 stat -c "%n %U" >>result.txt
应该做的伎俩
归档时间:
11 年,11 月 前
查看次数:
289 次
最近记录: