May 9, 2003 #1 SotonStu Programmer May 7, 2003 33 GB How do i find all files of type *.html or *.htm in my directory, i have: find . -type f -name '*.html' for all html files, but i dont know how to include htm as well
How do i find all files of type *.html or *.htm in my directory, i have: find . -type f -name '*.html' for all html files, but i dont know how to include htm as well
May 9, 2003 #2 TDun Technical User Aug 9, 2001 335 GB You could simply do find . -type f -name "*.htm*" Upvote 0 Downvote
May 9, 2003 #3 Salem Programmer Apr 29, 2003 2,455 GB Or # find files named *.html or *.htm find . -type f \( -name '*.html' -o -name '*.htm' \) Upvote 0 Downvote