Posted By

rm1984 on 06/30/16


Tagged

Shell Bash tar sh gz permissions


Versions (?)

TAR command to compress and preserve files' permissions


 / Published in: Bash
 

TAR command to preserve files' permissions

  1. # Compression
  2. $ tar -pcvzf ABC.tar.gz ABC
  3.  
  4. # Decompression
  5. $ tar -pxvzf ABC.tar.gz

Report this snippet  

You need to login to post a comment.