繁体   English   中英

查找具有(或没有)特定所有者的文件

[英]Find files which have (or have not) a specific owner

如何在特定目录(和子文件夹-递归)中查找具有特定所有者名称或在搜索中没有指定所有者名称的文件?

您可以使用find命令。

find (directory) -user (user)
find (directory) -not -user (user)

https://www.cyberciti.biz/faq/how-do-i-find-all-the-files-owned-by-a-particular-user-or-group/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM