not

Find command - Find files not matching a pattern

Unix/Linux find "patterns" FAQ: How do I find files or directories that don't match a specific pattern (files not matching a regex pattern, or filename pattern)?

In my case I just ran into a situation where I needed to find all files below the current subdirectory that are NOT named with the filename pattern *.html . Fortunately with the newer Unix/Linux find syntax this solution is pretty easy, you just include the -not argument, like this:

This accessory is not made to work with iPhone

Whenever I plug my iPhone 3G into accessories that I used previously with my old iPod -- including an Altec Lansing iM600 external speaker system and a JVC car stereo -- I get the scary message "This accessory is not made to work with iPhone" (followed by a message about switching to airplane mode). That message is almost mind-blowing scary like "Your iPhone is going to be fried if you stay plugged in to this device". Is it really that bad?

Syndicate content