{"id":5129,"date":"2021-01-25T18:58:45","date_gmt":"2021-01-25T18:58:45","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=5129"},"modified":"2021-01-25T19:32:24","modified_gmt":"2021-01-25T19:32:24","slug":"unzip","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/tools\/unzip\/","title":{"rendered":"unzip"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems.<\/p>\n<p>This version (made available via a modulefile &#8211; see below) fixes a problem with the system-wide version provided in CentOS 7.9 following a CSF upgrade in January 2021. You should use the modulefile version if you receive errors similar to the following when unzipping or verifying .zip files:<\/p>\n<pre>\r\n# The system-wide \/usr\/bin\/unzip may generate the following error when extracting your files\r\nerror: invalid zip file with overlapped components (possible zip bomb)\r\n #\r\n # The modulefile version (see below) fixes this error.\r\n<\/pre>\n<p>Versions 6.0 is installed.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no access restrictions on the CSF.<\/p>\n<h2>Set up procedure<\/h2>\n<p>You must load the modulefile:<\/p>\n<pre>\r\nmodule load tools\/gcc\/unzip\/6.0\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p><code>unzip<\/code> may be used on the login node for small file decompressions. However please run the app in a batch job, or interactive session, if unzipping large files.<\/p>\n<p>You may run <code>unzip -h<\/code> to get a list of command-line flags.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>To unzip a file as a batch job, create a jobscript as follows:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd\r\nmodule load tools\/gcc\/unzip\/6.0\r\nunzip <em>filename<\/em>.zip\r\n<\/pre>\n<p>Submit your job using<\/p>\n<pre>\r\nqsub <em>jobscript<\/em>\r\n<\/pre>\n<p>where <em><code>jobscript<\/code><\/em> is the name of your jobscript file.<\/p>\n<h3>Parallel batch job submission<\/h3>\n<p>Please consider using the <a href=\"..\/pigz\">pigz<\/a> utility which is a parallel zipping and unzipping application. <\/p>\n<h2>Further info<\/h2>\n<ul>\n<li>Basic\/help summary: <code>unzip -h<\/code><\/li>\n<li>Manpage: <code>man unzip<\/code><\/li>\n<li><a href=\"http:\/\/www.linuxfromscratch.org\/blfs\/view\/svn\/general\/unzip.html\">cmake website<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Overview unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. This version (made available via a modulefile &#8211; see below) fixes a problem with the system-wide version provided in CentOS 7.9 following a CSF upgrade in January 2021. You should use the modulefile version if you receive errors similar to the following when unzipping or verifying .zip files: # The system-wide \/usr\/bin\/unzip may generate the following error when.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/tools\/unzip\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":144,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5129","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/5129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=5129"}],"version-history":[{"count":6,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/5129\/revisions"}],"predecessor-version":[{"id":5136,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/5129\/revisions\/5136"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/144"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=5129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}