{"id":504668,"date":"2026-06-26T16:15:00","date_gmt":"2026-06-26T16:15:00","guid":{"rendered":"https:\/\/livelycity.com\/switzerland\/regex-unix-using-find-to-list-all-html-files-do-not-use-shell\/"},"modified":"2026-06-26T16:15:00","modified_gmt":"2026-06-26T16:15:00","slug":"regex-unix-using-find-to-list-all-html-files-do-not-use-shell","status":"publish","type":"post","link":"https:\/\/livelycity.com\/switzerland\/regex-unix-using-find-to-list-all-html-files-do-not-use-shell\/","title":{"rendered":"regex &#8211; Unix &#8211; Using find to List all .html files. (Do not use shell &#8230;"},"content":{"rendered":"<p>I&#8217;ve tried &#8216;find -name .html$&#8217;, &#8216;find -name .html&gt;&#8217;. None worked. I&#8217;d like to know why these two are wrong and what&#8217;s the right one to use with no wildcards?<\/p>\n<p>\u00a0<a href=\"https:\/\/stackoverflow.com\/questions\/18853285\/unix-using-find-to-list-all-html-files-do-not-use-shell-wildcards-or-the-ls\" target=\"_blank\" class=\"\">https:\/\/stackoverflow.com\/questions\/18853285\/unix-using-find-to-list-all-html-files-do-not-use-shell-wildcards-or-the-ls<\/a>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve tried &#8216;find -name .html$&#8217;, &#8216;find -name .html&gt;&#8217;. None worked. I&#8217;d like to know why these two are wrong and what&#8217;s the right one to&#8230;<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-504668","post","type-post","status-publish","format-standard","hentry","category-zurich","wpcat-8-id"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/livelycity.com\/switzerland\/wp-json\/wp\/v2\/posts\/504668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/livelycity.com\/switzerland\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/livelycity.com\/switzerland\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/livelycity.com\/switzerland\/wp-json\/wp\/v2\/comments?post=504668"}],"version-history":[{"count":0,"href":"https:\/\/livelycity.com\/switzerland\/wp-json\/wp\/v2\/posts\/504668\/revisions"}],"wp:attachment":[{"href":"https:\/\/livelycity.com\/switzerland\/wp-json\/wp\/v2\/media?parent=504668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/livelycity.com\/switzerland\/wp-json\/wp\/v2\/categories?post=504668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/livelycity.com\/switzerland\/wp-json\/wp\/v2\/tags?post=504668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}