{"id":1061,"date":"2017-07-22T19:42:55","date_gmt":"2017-07-22T18:42:55","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=1061"},"modified":"2017-07-22T19:42:55","modified_gmt":"2017-07-22T18:42:55","slug":"using-freebsd-unrar-utility-properly-extracting-recursively","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2017\/07\/22\/using-freebsd-unrar-utility-properly-extracting-recursively\/","title":{"rendered":"Using Freebsd unrar utility properly and extracting recursively"},"content":{"rendered":"<p>I noticed I had a lot of unrarred files and needed a way to completely unrar everything in a folder. I noticed a lot of the examples on the internets didnt work.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nfind Archive\/ -name '*.part01.rar' -execdir unrar e {} \\;\r\n<\/pre>\n<p>This basically hunts out all directories below Archive\/ and extracts all archives starting with part01.rar, the problem with examples I found is they used regex for *.rar or unrar&#8217;s -r recursive feature which in my BSD system seemed not best way to do this. <\/p>\n<p>I was pleased with the oneliner though. It might be useful for people with freenas systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I noticed I had a lot of unrarred files and needed a way to completely unrar everything in a folder. I noticed a lot of the examples on the internets didnt work. find Archive\/ -name &#8216;*.part01.rar&#8217; -execdir unrar e {} &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2017\/07\/22\/using-freebsd-unrar-utility-properly-extracting-recursively\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111,112,113,110],"tags":[],"class_list":["post-1061","post","type-post","status-publish","format-standard","hentry","category-bsd","category-freebsd","category-freenas","category-rar"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1061"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1061\/revisions"}],"predecessor-version":[{"id":1062,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1061\/revisions\/1062"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=1061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=1061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}