{"id":2101,"date":"2015-01-14T08:12:37","date_gmt":"2015-01-14T08:12:37","guid":{"rendered":"http:\/\/truelogic.org\/wordpress\/?p=2101"},"modified":"2015-01-14T08:12:37","modified_gmt":"2015-01-14T08:12:37","slug":"recursively-delete-files-using-wildcards-in-freebsd","status":"publish","type":"post","link":"https:\/\/truelogic.org\/wordpress\/2015\/01\/14\/recursively-delete-files-using-wildcards-in-freebsd\/","title":{"rendered":"Recursively delete files using wildcards in FreeBSD"},"content":{"rendered":"<p>Syntax of the find command:<\/p>\n<p><strong>find (path) -name &#8220;wildcard expression in quotes&#8221; -(optional find expression)<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>The path can be a folder like \/my\/folder\/is\/here or the current folder .<\/p>\n<p>By default find will recurse through all the files and folder from the specified path.<\/p>\n<p>You can provide an option expression at the end prefixed with a hyphen. For example to delete all *.core dump files in \/var the command would be<\/p>\n<p><strong>find \/var -name &#8220;*.core&#8221; -delete<\/strong><\/p>\n<p>To find all the available expressions in Find. <a href=\"https:\/\/www.freebsd.org\/cgi\/man.cgi?query=find%281%29&amp;sektion=\" target=\"_blank\">look here<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Syntax of the find command: find (path) -name &#8220;wildcard expression in quotes&#8221; -(optional find expression) &nbsp; The path can be a folder like \/my\/folder\/is\/here or <a class=\"mh-excerpt-more\" href=\"https:\/\/truelogic.org\/wordpress\/2015\/01\/14\/recursively-delete-files-using-wildcards-in-freebsd\/\" title=\"Recursively delete files using wildcards in FreeBSD\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":1269,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-2101","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-freebsd"],"_links":{"self":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/comments?post=2101"}],"version-history":[{"count":1,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2101\/revisions"}],"predecessor-version":[{"id":2102,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/posts\/2101\/revisions\/2102"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media\/1269"}],"wp:attachment":[{"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/media?parent=2101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/categories?post=2101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truelogic.org\/wordpress\/wp-json\/wp\/v2\/tags?post=2101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}