Ubuntu:Create archive tar: Difference between revisions
Created page with "Say you want to compress an entire directory named <code>/home/vivek/data/</code>, then type: <syntaxhighlight lang="shell"> tar -czvf file.tar.gz /home/kangtain/data/ </syntaxhighlight> To compress multiple directories and files, execute: <syntaxhighlight lang="shell"> tar -czvf file.tar.gz /home/kangtain/data/ /home/kangtain/pics/ /home/kangtain/.accounting.db </syntaxhighlight> One can use <code>bzip2</code> compression instead of <code>gzip</code> by passing the..." |
No edit summary |
||
| Line 27: | Line 27: | ||
==Source== | ==Source== | ||
*[https://www.cyberciti.biz/faq/how-to-tar-a-file-in-linux-using-command-line/ cyberciti.biz] | *[https://www.cyberciti.biz/faq/how-to-tar-a-file-in-linux-using-command-line/ cyberciti.biz] | ||
[[Category:Linux]] | |||
[[Category:Ubuntu]] | |||
[[Category:Tutorial]] | |||
[[Category:Debian]] | |||