{"id":15712,"date":"2019-02-28T15:09:30","date_gmt":"2019-02-28T15:09:30","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=15712"},"modified":"2025-09-01T09:27:54","modified_gmt":"2025-09-01T09:27:54","slug":"linux-tar-command-with-examples","status":"publish","type":"post","link":"\/tutorials\/linux-tar-command-with-examples","title":{"rendered":"How to use the tar command in Linux"},"content":{"rendered":"<p>The <strong>tar<\/strong> command in Linux <strong>simplifies file management by enabling efficient archiving and compression<\/strong>.<\/p><p>Originally designed for tape archives, it has become an essential tool for grouping multiple files and directories into a single <strong>.tar<\/strong> file, often called a tarball.<\/p><p>With this command, you can create, extract, update, delete, and compress files &ndash; all directly from the command line.<\/p><p>Scroll down to learn the <strong>tar <\/strong>command&rsquo;s syntax and the most common options. We&rsquo;ll cover everything from creating and extracting Linux archive files to advanced tasks like updating and deleting their contents.<\/p><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/assets.hostinger.com\/content\/tutorials\/pdf\/Linux-Commands-Cheat-Sheet.pdf\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"2048\" height=\"566\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/public\" alt=\"\" class=\"wp-image-69262\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2022\/11\/Linux-cheat-sheet.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><\/div><p>\n\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-is-the-tar-command-in-linux\">What is the tar command in Linux?<\/h2><p>The <strong>tar<\/strong> (tape archive) command is a <strong>command-line utility to create and manage archive files<\/strong>. Its main function is to combine multiple files and directories into a single archive, making storage and transfer more efficient.<\/p><p>A tar archive is commonly used for:<\/p><ul class=\"wp-block-list\">\n<li><strong>Backup<\/strong>. Automate daily server or website backups.<\/li>\n\n\n\n<li><strong>Transfer<\/strong>. Bundle project files for easy sharing.<\/li>\n\n\n\n<li><strong>Storage<\/strong>. Compress large directories to save disk space.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"h-tar-command-syntax\">Tar command syntax<\/h2><p>The <strong>tar<\/strong> command follows simple syntax. Understanding each component is the first step to using it effectively.<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar [options] [archive-file] [file\/directory...]<\/pre><ul class=\"wp-block-list\">\n<li><strong>[options]<\/strong>. Single-letter flags that define the action, such as create (<strong>-c<\/strong>), extract (<strong>-x<\/strong>), or list (<strong>-t<\/strong>).<\/li>\n\n\n\n<li><strong>[archive-file]<\/strong>. The name of the archive, for example <strong>backup.tar<\/strong> or <strong>project.tar.gz<\/strong>.<\/li>\n\n\n\n<li><strong>[file\/directory&hellip;]<\/strong>. The files or directories to include in the archive. You can list multiple items separated by spaces.<\/li>\n<\/ul><p>For example:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -cvf backup.tar \/home\/user\/documents<\/pre><p>This command creates an archive named <strong>backup.tar<\/strong> in the <strong>\/home\/user\/documents<\/strong> directory.<\/p><h3 class=\"wp-block-heading\" id=\"h-most-common-tar-options\">Most common tar options<\/h3><p>The <strong>tar<\/strong> command&rsquo;s functionality is controlled by its options. While there are many options available, the most commonly used are listed below.<\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><strong>Option<\/strong><\/td><td><strong>Long option<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>-c<\/td><td>&ndash;create<\/td><td>Creates a new archive file.<\/td><\/tr><tr><td>-x<\/td><td>&ndash;extract<\/td><td>Extracts files from an existing archive.<\/td><\/tr><tr><td>-t<\/td><td>&ndash;list<\/td><td>Lists the contents of an archive without extracting them.<\/td><\/tr><tr><td>-f<\/td><td>&ndash;file<\/td><td>Specifies the name of the archive file. This is almost always required.<\/td><\/tr><tr><td>-v<\/td><td>&ndash;verbose<\/td><td>Displays a detailed list of the files being processed.<\/td><\/tr><tr><td>-z<\/td><td>&ndash;gzip<\/td><td>Compresses the archive using gzip, creating a <strong>.tar.gz<\/strong> file.<\/td><\/tr><tr><td>-j<\/td><td>&ndash;bzip<\/td><td>Compresses the archive using bzip2, creating a <strong>.tar.bz2<\/strong> file.<\/td><\/tr><tr><td>-J<\/td><td>&ndash;xz<\/td><td>Compresses the archive using xz, creating a <strong>.tar.xz<\/strong> file.<\/td><\/tr><tr><td>-r<\/td><td>&ndash;append<\/td><td>Adds new files to the end of an existing archive.<\/td><\/tr><tr><td>-u<\/td><td>&ndash;update<\/td><td>Adds files to an archive only if they are newer than the existing ones.<\/td><\/tr><tr><td><\/td><td>&ndash;delete<\/td><td>Deletes files from an archive. <strong>Note<\/strong>: This doesn&rsquo;t work on tape drives.<\/td><\/tr><\/tbody><\/table><\/figure><p>You can combine multiple options in one command like this:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -czvf project.tar.gz project\/<\/pre><p>This creates a gzip-compressed archive of the <strong>project\/<\/strong> directory and displays the files being added.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-create-archives-using-tar\">How to create archives using tar<\/h2><p>The <strong>tar<\/strong> command uses the <strong>-c<\/strong> option to create new archive files. This is particularly useful for creating a single backup file of your website&rsquo;s project directory before making any changes.<\/p><h3 class=\"wp-block-heading\" id=\"h-create-uncompressed-archives\">Create uncompressed archives<\/h3><p>To create a plain archive without compression (simply bundling files together):<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -cvf website-backup.tar file1.html file2.css images\/<\/pre><p><strong>Expected output<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">file1.html\nfile2.css\nimages\/\nimages\/logo.png\nimages\/banner.jpg<\/pre><h3 class=\"wp-block-heading\" id=\"h-create-compressed-archives-gzip-bzip2-xz\">Create compressed archives (gzip, bzip2, xz)<\/h3><p>Compression reduces the archive size. <strong>tar<\/strong> supports multiple compression algorithms:<\/p><ul class=\"wp-block-list\">\n<li><strong>gzip (-z)<\/strong>. Fast and widely used.<\/li>\n<\/ul><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -czvf website-backup.tar.gz file1.html file2.css images\/<\/pre><ul class=\"wp-block-list\">\n<li><strong>bzip2 (-j)<\/strong>. Offers better compression than gzip but is slower.<\/li>\n<\/ul><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -cjvf website-backup.tar.bz2 file1.html file2.css images\/<\/pre><ul class=\"wp-block-list\">\n<li><strong>xz (-J)<\/strong>. Provides the highest compression ratio, but is also the slowest.<\/li>\n<\/ul><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -cJvf website-backup.tar.xz file1.html file2.css images\/<\/pre><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">&#128161; When to use gzip vs bzip2 vs xz<\/h4>\n                    <p>Use <strong>gzip<\/strong> for quick, everyday tasks, <strong>bzip2<\/strong> when you need a balance of speed and compression, and <strong>xz<\/strong> for long-term storage where maximum space savings are important.<\/p>\n                <\/div>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-extract-archives-with-tar\">How to extract archives with tar<\/h2><p>To extract a tar archive in Linux, use the <strong>-x<\/strong> option. This unpacks the contents, restoring the original files and directory structure &ndash; a crucial step when deploying a web application from a backup.<\/p><h3 class=\"wp-block-heading\" id=\"h-extract-to-current-directory\">Extract to current directory<\/h3><p>To unpack an archive into your current directory:<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -xvf website-backup.tar.gz<\/pre><p><strong>Expected output<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">file1.html\nfile2.css\nimages\/\nimages\/logo.png\nimages\/banner.jpg<\/pre><h3 class=\"wp-block-heading\" id=\"h-extract-to-a-custom-directory\">Extract to a custom directory<\/h3><p>To extract the archive&rsquo;s contents into a specific directory, use the <strong>-C<\/strong> option.<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -xzvf website-backup.tar.gz -C \/var\/www\/html<\/pre><h2 class=\"wp-block-heading\" id=\"h-how-to-add-files-to-existing-tar-archives\">How to add files to existing tar archives<\/h2><p>You can add files to an existing archive using the <strong>-r<\/strong> option. This is useful for adding new log files to a backup without recreating the entire archive. Note that you cannot add files to compressed archives, such as <strong>.tar.gz<\/strong>.<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -rvf website-backup.tar file3.js fonts\/<\/pre><p><strong>Expected output<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">file3.js\nfonts\/\nfonts\/roboto.woff<\/pre><h2 class=\"wp-block-heading\" id=\"h-how-to-list-tar-archive-contents\">How to list tar archive contents<\/h2><p>Use the <strong>-t<\/strong> option to view files inside an archive without extracting them. This is perfect for verifying what&rsquo;s inside a backup before you restore it.<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -tvf website-backup.tar.gz<\/pre><p><strong>Expected output<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">-rw-r--r-- user\/group      1234 2025-08-21 10:30 file1.html\n-rw-r--r-- user\/group      5678 2025-08-21 10:30 file2.css\ndrwxr-xr-x user\/group         0 2025-08-21 10:30 images\/\n-rw-r--r-- user\/group     15200 2025-08-21 10:30 images\/logo.png\n-rw-r--r-- user\/group     45800 2025-08-21 10:30 images\/banner.jpg<\/pre><h2 class=\"wp-block-heading\" id=\"h-how-to-extract-specific-files-using-tar\">How to extract specific files using tar<\/h2><p>You don&rsquo;t have to extract everything. <strong>tar<\/strong> can restore selected files, saving time and disk space if you only need one or two files from a large backup.<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -xzvf website-backup.tar.gz file1.html images\/logo.png<\/pre><h2 class=\"wp-block-heading\" id=\"h-how-to-update-existing-tar-archives\">How to update existing tar archives<\/h2><p>Use the <strong>-u<\/strong> option to replace files inside an archive with newer versions. <strong>tar<\/strong> checks the file&rsquo;s modification timestamp and updates it only if the local version is newer than the one in the archive.<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -uvf archive.tar updatedfile.txt<\/pre><h2 class=\"wp-block-heading\" id=\"h-how-to-concatenate-multiple-tar-archives\">How to concatenate multiple tar archives<\/h2><p>Concatenating lets you merge several tar files into one using the <strong>-A<\/strong> (<strong>&ndash;catenate<\/strong>) option. This is helpful for merging weekly backups into a single monthly archive.<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -Af main-archive.tar week2.tar week3.tar<\/pre><p>This appends the contents of <strong>week2.tar<\/strong> and <strong>week3.tar<\/strong> into <strong>main-archive.tar<\/strong>.<\/p><p>\n\n\n<div><p class=\"important\"><strong>Important!<\/strong> You cannot directly merge compressed formats like <strong>.tar.gz<\/strong> or <strong>.tar.xz<\/strong> with <strong>.tar<\/strong>.<\/p><\/div>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-delete-files-from-tar-archives\">How to delete files from tar archives<\/h2><p>The <strong>tar<\/strong> command can also remove files or entire directories from an uncompressed archive with the <strong>&ndash;delete<\/strong> option.<\/p><p><strong>Command<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar --delete -f website-backup.tar images\/banner.jpg\ntar --delete -f website-backup.tar unused-directory\/<\/pre><p>Note that the <strong>&ndash;delete<\/strong> option may not be available in older versions of tar. In that instance, you&rsquo;ll have to extract the archive, remove the unwanted files manually, and then recreate it.<\/p><p>Check our guide on <a href=\"\/tutorials\/how-to-remove-directory-in-linux\">how to remove a directory in Linux<\/a>, which provides alternative methods for deleting both empty and non-empty directories.<\/p><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-vps-hosting\" href=\"\/vps-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/public\" alt=\"\" class=\"wp-image-77934\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-key-takeaways-about-the-tar-command\">Key takeaways about the tar command<\/h2><p>Mastering the <strong>tar<\/strong> command is a valuable skill for anyone working in a Linux environment. It provides a powerful and flexible way to manage files efficiently.<\/p><ul class=\"wp-block-list\">\n<li><strong>Flexible archiving<\/strong>. The primary strength of <strong>tar<\/strong> is its ability to bundle countless files and directories into a single, portable archive file.<\/li>\n\n\n\n<li><strong>Built-in compression<\/strong>. With support for gzip, bzip2, and xz, <strong>tar<\/strong> lets you significantly reduce archive size, saving valuable disk space.<\/li>\n\n\n\n<li><strong>Efficient file management<\/strong>. From creating backups to packaging project files for sharing, <strong>tar<\/strong> streamlines system administration tasks and keeps your workflow organized.<\/li>\n<\/ul><p>As a next step, practice these command examples in a safe directory. Try creating different types of compressed archives and inspect their contents.<\/p><p>For more advanced options and edge cases, consult the official manual page by running <strong>man tar<\/strong> in your terminal.<\/p><p>We also suggest exploring other <a href=\"\/tutorials\/linux-commands\">Linux commands<\/a> like <strong>cp<\/strong> (for copying files) and <strong>rsync<\/strong> (for synchronizing backups) to enhance your system administration skills.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tar command in Linux simplifies file management by enabling efficient archiving and compression. Originally designed for tape archives, it [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/tutorials\/linux-tar-command-with-examples\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":411,"featured_media":91144,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to use the tar command in Linux (With examples)","rank_math_description":"Learn how to use the Linux tar command to create, extract, compress, and manage archive files with practical examples.","rank_math_focus_keyword":"tar command","footnotes":""},"categories":[22648,22644],"tags":[],"class_list":["post-15712","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-managing-monitoring-and-security","category-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/linux-tar-command-with-examples","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/comando-tar-linux","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/commande-tar-sur-linux","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/como-usar-comando-tar-linux","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/tar-linux","default":0},{"locale":"nl-NL","link":"https:\/\/www.hostinger.com\/nl\/tutorials\/tar-command","default":0},{"locale":"ja-JP","link":"https:\/\/www.hostinger.com\/jp\/tutorials\/linux-tar-command-with-examples","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/linux-tar-command-with-examples","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-use-the-tar-command-in-linux","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-use-the-tar-command-in-linux","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/como-usar-comando-tar-linux","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/como-usar-comando-tar-linux","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/como-usar-comando-tar-linux","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/comando-tar-linux","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/linux-tar-command-with-examples","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/linux-tar-command-with-examples","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/linux-tar-command-with-examples","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/linux-tar-command-with-examples","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/posts\/15712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/users\/411"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/comments?post=15712"}],"version-history":[{"count":33,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/posts\/15712\/revisions"}],"predecessor-version":[{"id":133312,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/posts\/15712\/revisions\/133312"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/media\/91144"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/media?parent=15712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/categories?post=15712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/tutorials\/wp-json\/wp\/v2\/tags?post=15712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}