In the file archive, Linux, I often like to use tar, it can be a folder archive as a file, you can use the specified compression algorithm to compress its archive.
The most commonly used statements are: Tar cvzf target.tar.gz Source
Note that z here is the GZ compression algorithm, when decompression: Tar xvzf target.tar.gz can be.
In Aix, you need to step into the process, first gzip-d target.tar.gz to extract a file: Target.tar
You can then use the tar xvf Target.tar, but if you have a long path in your archive, some older versions of Aix may have permission DENIED, @LONGLINK errors,
Because the path is too long, the decompression fails, which is related to the tar itself.
In this case, we want to use zip to compress the unpacking package, Zip-r TARGET. ZIP SOURCE
Unzip/jar XVF to unpack the package, but the problem is that using a zip, the permissions in the file will be affected by the target machine umask, it is likely to lose the executable permissions of the Bin/shell file, which requires
Features note.
Use of Tar,jar,zip