I'm very familiar with using grep with the pipe to exclude everything that doesn't match a pattern. But can I use grep to exclude everything that DOES match a pattern? I thought this would work, the
option, like below:
find /media -name "somenamehere" | grep -v "Permission denied"
But this isn't working. Any idea why not and what I should be doing instead?