|
What is tar? Tar a UNIX utility that allows you to take a bunch of files and archive them into one file. |
| Frequently used TAR parameter |
| For the most part, these are all you'll ever need or use. If you'd like to know more, type man tar on the command prompt. |
| -c | Create a new tar file |
| -x | Extract a tar file |
| -t | Show a table of all the file in the tar file |
| -v | Makes tar verbose (report all actions) |
| -f | Tell tar that you want a particular file |
| Examples |
| Again, these are probably all you ever need or use |
| tar -cvf tarfile source | Creates tarfile from source |
| tar -xvf tarfile | Extracts tarfile |
| tar -tvf tarfile | Shows the contents of tarfile |
| Thanks to: |
| Hyon for writing all this down & putting it on his page so I could steal it. |