11.C.6: Next Transfering and Restoring  11: Up Multiple Machines  11.C.4: Prev Transfering Large File Structures  Contents Contents

Basic

§ 11.C.5: Archiving And Compressing File Systems


To create an archive of all (*) files and subdirectories in your working directory, to place the archive in the file development.tar, and to get a verbose verbose report of what's happening, issue the commands:

Here the -cvf options are for "create", "verbose", and "file to follow". The file development.tar could be any name you prefer, with the .tar suffix conventional. The final * says to archive all files and subdirectories in the present directory; it could be replaced by specific names if you do not want to archive everthing. The "verbose" response of tar you asked for gives something like:

We now check that the .tar file is there, and if it is there, we compress it and see how much smaller it is:

If all this worked, you will find that your development.tar file has been replaced by a developmen.tar.Z file which is smaller.

You are now ready to learn how to transfer your file, how to uncompress it, and how to extract your archive.


11.C.6: Next Transfering and Restoring  11: Up Multiple Machines  11.C.4: Prev Transfering Large File Structures  Contents Contents

Comments and questions to CP-unix@physics.orst.edu.