So this is another of those "post to self" notes.
Lots of times you need to search for a file or directory under a user account and get this long list of "Permission Denied" entries back.
Lots of times you need to search for a file or directory under a user account and get this long list of "Permission Denied" entries back.
The below find command will exclude those.
Terminal command to find a directory with name image:
Terminal command to find a directory with name image:
find / -name image -type d 2>&1 | grep -v "Permission denied"
No comments:
Post a Comment