"Tar" and "Zip" UNIX files
Posted on 2001-06-11
In my UNIX operating system, I have several files and
directories in my home directory.
How can I "tar" and "zip" the contents of all the files
and directories, subdirectories, files in them together
in a file named "home.tar.zip".
Example: My home directory is: "/home/myname/"
Here are the contents:
dir1 dir2 file1 file2
How can I tar and zip all files/directories/subdirectories under "/home/myname/" and put it in a file(?) named "home.tar.zip" (From this I should be able to retrieve all the files and directories the same way they used to be before it was tar'ed and zip'ed)