A Trip through Linux
by Ken Sipe
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment