| <- Prev Lesson | Next Lesson -> |
Sometimes, we wish to compress our files for storage, or we wish to send many files at one time to another user. To accomplish this, we can use a utility called 'tar'. Originally written to back up important data to magnetic tape drives, 'tar' allows us to combine many files into one condensed file from which our data can later be retrieved. This is similar in some ways to 'zipping' a file, which is common under the Windows operating system.
The syntax for the 'tar' command may be difficult to understand at first, but as always, the best way to learn is to do. Try to experiment a bit with it using the syntax guide below.
| Name | Meaning | Purpose |
|---|---|---|
| tar | Tape ARchive | To archive files (turn many into one) |
| Syntax | ||
| tar cvf <archive filename> <file(s)> tar xvf <archive filename> [target directory]; tar tvf <archive filename> | ||
| Notes | ||
|
||
| <- Prev Lesson | Next Lesson -> |
Designed by D. Kaminsky
© University of Pennsylvania, 2003