12: Next E-Mail  Up 22. Multiple Machines  11.C.5: Prev taring and compressing  Contents Contents

Basic

§ 11.C.6: File System Transfer and Restoration


We are about to learn how to convert the tar'd and compressed file back. But before we do something that exciting, let's get a quiz out of the way. Use ftp to transfer your compressed tar file to ucs.orst.edu as a binary file. For review you might want to look at:

If you are still stuck, try Because all of life is a test, now telnet to ucs.orst.edu. Normally, when you ftp your file to another computer for backup, you would leave it in compressed form (it takes up less space and is easier to ftp back when you have ruined the original). However, for pedagogical purposes we will uncompress our archive: Note that gunzip will work with gziped files or with compressed files, while uncompress will only work with compressed files. In either case, Unix should replace development.tar.Z with a development.tar file.

To extract your archive from a .tar file, you use tar again, this time with extract, verbose, and file following options:

Note that we have made a new directory to extract the files into. This avoids the possiblity of the extracted files overwriting existing files. When all this works, Unix should respond with something like:

To check what's there and their creation dates, do a long list:

If you would like further information on transferring files, "A Scientist's and Engineer's Guide to Workstations" has information on "Electronic File Transfer" and