Skip to main content
edited tags
Link
Jeff Schaller
  • 68.9k
  • 35
  • 122
  • 268
Source Link
yael
  • 1.6k
  • 11
  • 35
  • 62

find + delete files that contain "."

I need to remove all the files under /tmp that contain the "." or dot character

so I created the following

find /tmp -name "*.*" -delete 

please advice if this is the best approach to remove the files that contain "." ?