{"id":289,"date":"2010-09-19T00:24:15","date_gmt":"2010-09-18T23:24:15","guid":{"rendered":"http:\/\/kb.toderu.ro\/?p=289"},"modified":"2010-09-19T00:24:15","modified_gmt":"2010-09-18T23:24:15","slug":"essential-tar-and-zip-options","status":"publish","type":"post","link":"https:\/\/kb.toderu.ro\/?p=289","title":{"rendered":"Essential tar and zip Options"},"content":{"rendered":"<p>\t\t\t\tTar:<br \/>\ntar -cvzf name.tgz dir_to_be_archived<br \/>\ntar -cvzf &#8211;remove-files name.tgz dir_to_be_archived<br \/>\nActions (one is required):<br \/>\n            -c create an archive<br \/>\n            -t list an archive<br \/>\n            -x extract files from an archive<br \/>\n      Typically required:<br \/>\n            -f archivename name of file archive<br \/>\n     Optional:<br \/>\n            -z use gzip compression<br \/>\n            -j use bzip2 compression<br \/>\n            -v be verbose<br \/>\n            &#8211;xattrs store SELinux and ACL properties <\/p>\n<p>Zip:<br \/>\n     Supports pkzip-compatible archives<br \/>\n      Example:<br \/>\n      zip -r etc.zip \/etc<br \/>\n      unzip etc.zip\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tar: tar -cvzf name.tgz dir_to_be_archived tar -cvzf &#8211;remove-files name.tgz dir_to_be_archived Actions (one is required): -c create an archive -t list an archive -x extract files from an archive Typically required: -f archivename name of file archive Optional: -z use gzip compression -j use bzip2 compression -v be verbose &#8211;xattrs store SELinux and ACL properties Zip: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,5],"tags":[],"class_list":["post-289","post","type-post","status-publish","format-standard","hentry","category-bash","category-linux"],"_links":{"self":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=289"}],"version-history":[{"count":0,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/289\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}