Wednesday, September 28, 2016

find but exclude directory and exclude user

find . ! -path "/path/folder/*" -name "*" ! -user kenmsipe -ls

find all files that are not located in /path/folder/* and do not have a user of kenmsipe

No comments:

Post a Comment