From wikistone
| Line 6: | Line 6: | ||
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: | Compress: | ||
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