{"id":24,"date":"2007-12-20T10:34:16","date_gmt":"2007-12-20T15:34:16","guid":{"rendered":"http:\/\/jaimerios.com\/?p=24"},"modified":"2007-12-20T10:34:16","modified_gmt":"2007-12-20T15:34:16","slug":"how-to-extract-all-zip-files-within-multiple-subdirectories","status":"publish","type":"post","link":"https:\/\/jaimerios.com\/?p=24","title":{"rendered":"How to extract all zip files within multiple subdirectories"},"content":{"rendered":"<p>In Mac OS X, using the Terminal application, it is possible to uncompress all zip files that are littered within a directory structure with a single command:\u00a0<\/p>\n<pre lang=\"bash\">\nfind . -iname \"*.zip\" -type f -print -execdir ditto -x -k --sequesterRsrc '{}' '.' \\;\n<\/pre>\n<p>To use this command, you first has to &#8216;cd&#8217; to the root of the directory structure you are working with and then type in the above listed command. The &#8216;ditto&#8217; app will then decompress every file that it is sent from the &#8216;find&#8217; command.\u00a0This is a very useful command, especially if you have projects where files have to be zipped up before they are sent to the version control server. \u00a0Enjoy!\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Mac OS X, using the Terminal application, it is possible to uncompress all zip files that are littered within a directory structure with a single command:\u00a0 find . -iname &#8220;*.zip&#8221; -type f -print -execdir ditto -x -k &#8211;sequesterRsrc &#8216;{}&#8217; &#8216;.&#8217; \\; To use this command, you first has to &#8216;cd&#8217; to the root of &#8230; <a title=\"How to extract all zip files within multiple subdirectories\" class=\"read-more\" href=\"https:\/\/jaimerios.com\/?p=24\" aria-label=\"Read more about How to extract all zip files within multiple subdirectories\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24"}],"version-history":[{"count":0,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}