Reputation: 876
How to find files in a specific directory (and sub folders - recursive) that have a specific owner name or that have not a specified owner name in the search?
Upvotes: 2
Views: 1023
Reputation: 126
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/
Upvotes: 5