Is there anyway to tell
/usr/bin/find to blacklist a certain directory by absolute location. I'm using
find (GNU findutils) 4.4.2.
find . -type f -not -path '*/media/*'
I would expect this never to traverse a through anything within a path named
/media/. However, this clearly isn't the case. Reading the docs I see the answer is in
find . -path '*/media/*' -prune | grep media
However, that still returns stuff
./media/.listing ./media/ChromeImageGallery ./media/WheelsTV ./media/AutoBuilder4-Data
How come even with
-prune find is returning stuff in the