Looking for files NOT owned by someone

后端 未结 5 1223
灰色年华
灰色年华 2021-01-29 20:07

I\'m looking to recursively look through directories to find files NOT owned by a particular user and I am not sure how to write this.

5条回答
  •  春和景丽
    2021-01-29 20:42

    -user finds by user or user ID, and ! inverts the predicate. So, ! -user ....

提交回复
热议问题