Instructions provided describe how to email or FTP workspaces as tar files (EXPORT)?
The following syntax creates a tar file of a workspace:
tar cvf -C
In the following example, the workspace is named "test"; the path to test is "/usr/home/test"; and the tar file is named "tarworkspace". The following syntax would be used:
tar cvf tarworkspace.tar -C test test
The tar file "tarworkspace.tar" contains all of the contents in the "test" workspace.
If FTP is being used to transport the file, set the transfer protocol to BINARY.
If the file is going to be e-mailed, the file needs to be uuencoded and may need to be compressed if the uuencoded file is larger than 1 Mb. This converts the tar file into an ASCII file that can be emailed. The syntax for uuencode in the above example is as follows:
uuencode tarworkspace.tar tarworkspace.tar > tarworkspace.uu
compress and uuencode:
uuencode tarworkspace.tar.Z tarworkspace.tar.Z > tarworkspace.uu
The tarworkspace.uu is ready to be emailed.
1. Do not use a full pathname when using tar. This would requires some directory structure at the destination site.
2. The extensions .tar and .uu are used to denote the format to the user. The .Z extension of compress is automatically applied.