{"id":152,"date":"2005-09-24T13:04:59","date_gmt":"2005-09-24T10:04:59","guid":{"rendered":"https:\/\/void.gr\/kargig\/blog\/?p=152"},"modified":"2005-09-24T13:05:45","modified_gmt":"2005-09-24T10:05:45","slug":"howto-extract-rar-files-with-rox","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2005\/09\/24\/howto-extract-rar-files-with-rox\/","title":{"rendered":"HOWTO extract rar files with rox"},"content":{"rendered":"<p>What&#8217;s easier than a single click extraction of rar files through rox ?<\/p>\n<li>vi \/usr\/local\/bin\/urar<\/li>\n<p>and paste inside:<\/p>\n<blockquote><p>\n#!\/bin\/bash<br \/>\ncd `dirname &#8220;$@&#8221;`<br \/>\nunrar x -y `basename &#8220;$@&#8221;`<br \/>\nmkdir &#8220;unrar done&#8221;\n<\/p><\/blockquote>\n<li>chmod +x \/usr\/local\/bin\/urar<\/li>\n<p>then right click on a rar file&#8230;go to customize menu and drop \/usr\/local\/bin\/urar to the new window that appears. <\/p>\n<p>Now when you right click on a rar file you will see on the menu &#8220;urar&#8221;&#8230;just click it and you will have your rar files extracted to the current dir. It&#8217;s easy to modify the previous script to extract the files to a new dir if you want. It will also create a dir named &#8220;unrar done&#8221; to notify you when the process has finished.<\/p>\n<p>What needs fixing ? <\/p>\n<li>Passworded rar files<\/li>\n<li>some fancier method of telling us the extraction process is over instead of a mkdir&#8230;maybe with a small pygtk program to make it open a small &#8220;notice&#8221; on the current X display ?<\/li>\n","protected":false},"excerpt":{"rendered":"<p>What&#8217;s easier than a single click extraction of rar files through rox ? vi \/usr\/local\/bin\/urar and paste inside: #!\/bin\/bash cd `dirname &#8220;$@&#8221;` unrar x -y `basename &#8220;$@&#8221;` mkdir &#8220;unrar done&#8221; chmod +x \/usr\/local\/bin\/urar then right click on a rar file&#8230;go to customize menu and drop \/usr\/local\/bin\/urar to the new window that appears. Now when you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-linux"],"aioseo_notices":[],"views":4801,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=152"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/152\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}