Last active
December 18, 2017 10:32
-
-
Save chinboon/6c0cdf31326b1ffae46d3930e1dfd4cf to your computer and use it in GitHub Desktop.
find-files-not-belonging-to-user-or-group.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # find files not belonging to a particular user | |
| # ! chinboon | |
| find . \! -user chinboon -print | |
| # find files not belonging to a particular user and group | |
| # ! chinboon:staff | |
| find . \! -user chinboon -group staff -print |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment