tar (untar) command to preserve file permissions

If you want to uncompress a tar file and preserve file permissions then you have to use the following command:

tar -pxvzf xxx.tar.gz

No comments:

Post a Comment