{"id":1743,"date":"2009-08-18T12:18:39","date_gmt":"2009-08-18T10:18:39","guid":{"rendered":"http:\/\/localhost\/helpcentre\/?p=1743"},"modified":"2026-01-30T10:12:14","modified_gmt":"2026-01-30T08:12:14","slug":"tar-and-zip-to-compress-files","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/website\/tar-and-zip-to-compress-files\/","title":{"rendered":"How to use \u2018Tar\u2019 and \u2018Zip\u2019 to compress files via konsoleH"},"content":{"rendered":"<p><b>Tar and zip commands<\/b> are often used to compress a website\u2019s content to a single smaller file to use less disk space and to expedite the download process of a large number of files. \u2018Tar\u2019 is the most common form for Unix and \u2018zip\u2019 is the most common form for Windows. However, \u2018zip\u2019 and \u2018tar\u2019 have both been ported to all computer platforms.<\/p>\n<p>The following file compression methods are available with xneelo:<\/p>\n<h2><b>1. konsoleH \u2018File Manager\u2019 tool (Zip):<br \/>\n<\/b><\/h2>\n<div id=\"action_points\">\n<ol>\n<li>Browse to <a href=\"http:\/\/secure.konsoleh.co.za\">konsoleH<\/a>\u00a0and <strong>log in<\/strong> (Admin or Domain level)<\/li>\n<li>Select or search for a domain name in the <strong>Hosting Service<\/strong> tab<\/li>\n<li>Select <strong>Manage Services<\/strong> from the left-hand menu<\/li>\n<li>Select <strong>File Manager<\/strong><\/li>\n<li>Select the file or folder which should be compressed<\/li>\n<li>Select <strong>Zip File<\/strong> from the right navigation bar<\/li>\n<\/ol>\n<\/div>\n<h3>Your public_html directory (all web content) can be compressed (zipped):<\/h3>\n<div id=\"action_points\">\n<ol>\n<li>Browse to <a href=\"http:\/\/secure.konsoleh.co.za\">konsoleH<\/a>\u00a0and <strong>log in<\/strong> (Admin or Domain level)<\/li>\n<li>Select or search for a domain name in the <strong>Hosting Service<\/strong> tab<\/li>\n<li>Select <strong>Manage Services<\/strong> from the left-hand menu<\/li>\n<li>Select <strong>File Manager<\/strong><\/li>\n<li>Select <strong>Go to Home Folder<\/strong><\/li>\n<li>Click <strong>Expanded View<\/strong><\/li>\n<li>Select the <strong>public_html<\/strong> folder<\/li>\n<li>Select <strong>Zip File<\/strong> from the right navigation bar<\/li>\n<\/ol>\n<\/div>\n<h2><b><br \/>\n2. Telnet or SSH (Tar and Zip)<\/b><\/h2>\n<p>To compress content within the <strong>public_html<\/strong> directory from a <strong>command line (Telnet or SSH)<\/strong> : (where [ ] indicates a filename of the user\u2019s choice)<\/p>\n<h3>Tar Compress individual files:<\/h3>\n<div id=\"action_points\">\n<ol>\n<li><strong>SSH \/ Telnet<\/strong> to the web server<\/li>\n<li>Change to the <strong>public_html<\/strong> directory<\/li>\n<li>run: tar -zcvf [tar_file_name.tar.gz] (file1) (file2) etc.[a-zA-Z0-9]*\n<ul>\n<li>Eg. tar -zcvf testcontent.tar.gz index.html info.php<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/div>\n<h3>Tar Compress all public_html content (all web content):<\/h3>\n<div id=\"action_points\">\n<ol>\n<li><strong>SSH \/ Telnet<\/strong> to the web server<\/li>\n<li>Change to the <strong>public_html<\/strong> directory<\/li>\n<li>tar -zcvf [tar_file_name.tar.gz] * .[a-zA-Z0-9]*<\/li>\n<\/ol>\n<\/div>\n<h3>ZIP Compress individual files:<\/h3>\n<div id=\"action_points\">\n<ol>\n<li><strong>SSH \/ Telnet<\/strong> to the web server<\/li>\n<li>Change to the <strong>public_html<\/strong> directory<\/li>\n<li>run: zip -rqv [zip_filename.zip] (file1) (file2) etc. .[a-zA-Z0-9]*\n<ul>\n<li>Eg. zip -rqv testcontent.zip index.html info.php<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/div>\n<h3>ZIP Compress all public_html content (all web content):<\/h3>\n<div id=\"action_points\">\n<ol>\n<li><strong>SSH \/ Telnet<\/strong> to the web server<\/li>\n<li>Change to the <strong>public_html<\/strong> directory<\/li>\n<li>run: zip -rqv [zip_filename.zip] * .[a-zA-Z0-9]*<\/li>\n<\/ol>\n<\/div>\n<p><a title=\"Extracting\" href=\"https:\/\/xneelo.co.za\/help-centre\/website\/how-do-i-extract-files-from-a-zip-or-tar-file\/\">Extracting<\/a> files from a zip or tar involves a similar process.<\/p>\n","protected":false,"plain":"<b>Tar and zip commands<\/b> are often used to compress a website\u2019s content to a single smaller file to use less disk space and to expedite the download process of a large number of files. \u2018Tar\u2019 is the most common form for Unix and \u2018zip\u2019 is the most common form for Windows. However, \u2018zip\u2019 and \u2018tar\u2019 have both been ported to all computer platforms.\r\n\r\nThe following file compression methods are available with xneelo:\r\n<h2><b>1. konsoleH \u2018File Manager\u2019 tool (Zip):\r\n<\/b><\/h2>\r\n<div id=\"action_points\">\r\n<ol>\r\n \t<li>Browse to <a href=\"http:\/\/secure.konsoleh.co.za\">konsoleH<\/a>\u00a0and <strong>log in<\/strong> (Admin or Domain level)<\/li>\r\n \t<li>Select or search for a domain name in the <strong>Hosting Service<\/strong> tab<\/li>\r\n \t<li>Select <strong>Manage Services<\/strong> from the left-hand menu<\/li>\r\n \t<li>Select <strong>File Manager<\/strong><\/li>\r\n \t<li>Select the file or folder which should be compressed<\/li>\r\n \t<li>Select <strong>Zip File<\/strong> from the right navigation bar<\/li>\r\n<\/ol>\r\n<\/div>\r\n<h3>Your public_html directory (all web content) can be compressed (zipped):<\/h3>\r\n<div id=\"action_points\">\r\n<ol>\r\n \t<li>Browse to <a href=\"http:\/\/secure.konsoleh.co.za\">konsoleH<\/a>\u00a0and <strong>log in<\/strong> (Admin or Domain level)<\/li>\r\n \t<li>Select or search for a domain name in the <strong>Hosting Service<\/strong> tab<\/li>\r\n \t<li>Select <strong>Manage Services<\/strong> from the left-hand menu<\/li>\r\n \t<li>Select <strong>File Manager<\/strong><\/li>\r\n \t<li>Select <strong>Go to Home Folder<\/strong><\/li>\r\n \t<li>Click <strong>Expanded View<\/strong><\/li>\r\n \t<li>Select the <strong>public_html<\/strong> folder<\/li>\r\n \t<li>Select <strong>Zip File<\/strong> from the right navigation bar<\/li>\r\n<\/ol>\r\n<\/div>\r\n<h2><b>\r\n2. Telnet or SSH (Tar and Zip)<\/b><\/h2>\r\nTo compress content within the <strong>public_html<\/strong> directory from a <strong>command line (Telnet or SSH)<\/strong> : (where [ ] indicates a filename of the user\u2019s choice)\r\n<h3>Tar Compress individual files:<\/h3>\r\n<div id=\"action_points\">\r\n<ol>\r\n \t<li><strong>SSH \/ Telnet<\/strong> to the web server<\/li>\r\n \t<li>Change to the <strong>public_html<\/strong> directory<\/li>\r\n \t<li>run: tar -zcvf [tar_file_name.tar.gz] (file1) (file2) etc.[a-zA-Z0-9]*\r\n<ul>\r\n \t<li>Eg. tar -zcvf testcontent.tar.gz index.html info.php<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<\/div>\r\n<h3>Tar Compress all public_html content (all web content):<\/h3>\r\n<div id=\"action_points\">\r\n<ol>\r\n \t<li><strong>SSH \/ Telnet<\/strong> to the web server<\/li>\r\n \t<li>Change to the <strong>public_html<\/strong> directory<\/li>\r\n \t<li>tar -zcvf [tar_file_name.tar.gz] * .[a-zA-Z0-9]*<\/li>\r\n<\/ol>\r\n<\/div>\r\n<h3>ZIP Compress individual files:<\/h3>\r\n<div id=\"action_points\">\r\n<ol>\r\n \t<li><strong>SSH \/ Telnet<\/strong> to the web server<\/li>\r\n \t<li>Change to the <strong>public_html<\/strong> directory<\/li>\r\n \t<li>run: zip -rqv [zip_filename.zip] (file1) (file2) etc. .[a-zA-Z0-9]*\r\n<ul>\r\n \t<li>Eg. zip -rqv testcontent.zip index.html info.php<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<\/div>\r\n<h3>ZIP Compress all public_html content (all web content):<\/h3>\r\n<div id=\"action_points\">\r\n<ol>\r\n \t<li><strong>SSH \/ Telnet<\/strong> to the web server<\/li>\r\n \t<li>Change to the <strong>public_html<\/strong> directory<\/li>\r\n \t<li>run: zip -rqv [zip_filename.zip] * .[a-zA-Z0-9]*<\/li>\r\n<\/ol>\r\n<\/div>\r\n<a title=\"Extracting\" href=\"https:\/\/xneelo.co.za\/help-centre\/website\/how-do-i-extract-files-from-a-zip-or-tar-file\/\">Extracting<\/a> files from a zip or tar involves a similar process."},"excerpt":{"rendered":"<p>Tar &amp; zip commands are used to compress website content and expedite the download process. Tar is common for Unix &amp; Zip is common for Windows. Here&#8217;s how:<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[166],"tags":[20576,20579,20132,18324,18327,18333,17832,16766,3983],"topics":[10403],"class_list":["post-1743","post","type-post","status-publish","format-standard","hentry","category-website","tag-how-to-use-tar-and-zip-to-compress-files","tag-zip-folder","tag-backup-copy","tag-tar","tag-zip","tag-compress-file","tag-back-up","tag-backup","tag-backup-website","topics-konsoleh-tools"],"acf":[],"additional_meta":{"category_title":[{"term_id":166,"name":"Website","slug":"website","term_group":0,"term_taxonomy_id":166,"taxonomy":"category","description":"About your Website(s)","parent":0,"count":169,"filter":"raw","term_order":"120","cat_ID":166,"category_count":169,"category_description":"About your Website(s)","cat_name":"Website","category_nicename":"website","category_parent":0}],"tag_title":[{"term_id":20576,"name":"How to use \u2018Tar\u2019 and \u2018Zip\u2019 to compress files","slug":"how-to-use-tar-and-zip-to-compress-files","term_group":0,"term_taxonomy_id":20576,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1271"},{"term_id":20579,"name":"zip folder","slug":"zip-folder","term_group":0,"term_taxonomy_id":20579,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1272"},{"term_id":20132,"name":"backup copy","slug":"backup-copy","term_group":0,"term_taxonomy_id":20132,"taxonomy":"post_tag","description":"","parent":0,"count":3,"filter":"raw","term_order":"1420"},{"term_id":18324,"name":"tar","slug":"tar","term_group":0,"term_taxonomy_id":18324,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"2014"},{"term_id":18327,"name":"zip","slug":"zip","term_group":0,"term_taxonomy_id":18327,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"2015"},{"term_id":18333,"name":"compress file","slug":"compress-file","term_group":0,"term_taxonomy_id":18333,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"2016"},{"term_id":17832,"name":"back up","slug":"back-up","term_group":0,"term_taxonomy_id":17832,"taxonomy":"post_tag","description":"","parent":0,"count":4,"filter":"raw","term_order":"2177"},{"term_id":16766,"name":"backup","slug":"backup","term_group":0,"term_taxonomy_id":16766,"taxonomy":"post_tag","description":"","parent":0,"count":7,"filter":"raw","term_order":"2512"},{"term_id":3983,"name":"backup website","slug":"backup-website","term_group":0,"term_taxonomy_id":3983,"taxonomy":"post_tag","description":"","parent":0,"count":2,"filter":"raw","term_order":"2877"}]},"featured_image_src":null,"author_info":{"display_name":"marketing","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/marketing\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/a6ea315e112423b2b955cb020fbce2b0835956c6ad85ff0f13f1db298977eaaa?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/1743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=1743"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/1743\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=1743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=1743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=1743"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=1743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}