A useful tar command on AIX/Solaris does not seems work on Linux
Hi,
tar -cvpf - *|compress > file_name.tar.Z zcat file_name.tar.Z|tar -xvpf - Above 2 commands (tar & untar) are quite usful to handle my job. Company has plan to switch unix plat form from AIX/Solaris to Linux in the near future. How to make above tar & untar commands work in Lieux? The tar comand above includes sub-folders in a huge main folder and includes all hidden files on all sub-folders. Your help is highly appreciate. Thanks! ---Eric |
i usually use
Code:
tar -cvjf archive.tar.bz2 /whatever/floats/your/boat # archive and compress |
Quote:
http://linux.die.net/man/1/tar From what you posted, it seems like all you're after is the ability to compress/decompress the tar files...so: Code:
-j, --bzip2 |
You'd have to also double check the version and maybe build of the tar you have. You may have two programs or more of tar.
Generally the man page follows correctly for the version. |
All times are GMT -5. The time now is 06:02 AM. |