UNIX "find" command, match literal "dot"
- by Robottinosino
I need files ending with ".pdf" or ".png"; here's my attempt:
find /Users/robottinosino/Desktop/_PublishMe_ -type f -regex '.*[pdf|png]'
this incorrectly includes files ending with "Apdf", "Zpdf", etc. (missing literal dot before file extension)
I tried adjusting the pattern to:
find /Users/robottinosino/Desktop/_PublishMe_ -type f -regex…