简体   繁体   中英

Find files which have (or have not) a specific owner

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

You can use the find command.

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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