From wikistone
(Created page with " Create a tar: <pre> tar cf ball-o.tar myjunks*.txt </pre> Comress: <pre> tar cf ball-o.tar myjunks*.txt </pre> View the contents of your tarballs with: <pre> tar tf ball-o.t...") |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | Extract: | |
| + | <pre> | ||
| + | tar xvf ball-o.tar [opt_specific_file] | ||
| + | </pre> | ||
Create a tar: | Create a tar: | ||
<pre> | <pre> | ||
| − | tar | + | tar cvf ball-o.tar myjunks*.txt |
| + | </pre> | ||
| + | Add to tar: | ||
| + | <pre> | ||
| + | tar rvf ball-o-.tar myjunks.txt | ||
</pre> | </pre> | ||
| − | + | Compress: | |
<pre> | <pre> | ||
| − | tar | + | tar zcf ball-o.tar myjunks*.txt |
</pre> | </pre> | ||
View the contents of your tarballs with: | View the contents of your tarballs with: | ||
Latest revision as of 12:27, 16 May 2014
Extract:
tar xvf ball-o.tar [opt_specific_file]
Create a tar:
tar cvf ball-o.tar myjunks*.txt
Add to tar:
tar rvf ball-o-.tar myjunks.txt
Compress:
tar zcf ball-o.tar myjunks*.txt
View the contents of your tarballs with:
tar tf ball-o.tar