Difference between revisions of "Linux command: tar"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) m (Protected "Linux command: tar" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Rafahsolis (talk | contribs) |
||
| Line 9: | Line 9: | ||
#uncompress .txz | #uncompress .txz | ||
tar Jxvf file.txz | tar Jxvf file.txz | ||
| + | |||
| + | # uncompress .tar.xz | ||
| + | tar -xvf file.tar.xz | ||
</nowiki> | </nowiki> | ||
Revision as of 21:31, 13 May 2015
#!/bin/bash #compress .tar.gz tar -zcvf /var/my-backup.tar.gz /home/rafa/ #uncompress .tar.gz tar -zxvf archive.tar.gz #uncompress .txz tar Jxvf file.txz # uncompress .tar.xz tar -xvf file.tar.xz