compress_entire_directory_to_tar_archive
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
compress_entire_directory_to_tar_archive [2017/07/13 08:44] – walkeradmin | compress_entire_directory_to_tar_archive [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
---- | ---- | ||
- | ==== .tar Syntax | + | ==== Create |
\\ | \\ | ||
The basic syntax for tar is quite simple, here is an example: | The basic syntax for tar is quite simple, here is an example: | ||
Line 30: | Line 30: | ||
tar -pcvzf archive.tar /home/work | tar -pcvzf archive.tar /home/work | ||
\\ | \\ | ||
+ | |||
+ | ---- | ||
+ | ==== Decompress .tar File ==== | ||
+ | \\ | ||
+ | To decompress the <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | To decompress the archive.tar file we created earlier, use the following command: | ||
+ | \\ | ||
+ | tar -pcvzf archive.tar | ||
+ | \\ | ||
+ | |||
compress_entire_directory_to_tar_archive.1499931881.txt.gz · Last modified: 2023/03/09 22:35 (external edit)