How do I recursively search for all files or directories that do not belong to given user?
1 Answer
If the user was john
:
$ find . ! -user john
From man find
:
Operators
! expr True if expr is false.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityHow do I recursively search for all files or directories that do not belong to given user?
If the user was john
:
$ find . ! -user john
From man find
:
Operators
! expr True if expr is false.