TAR command to compress and preserve files' permissions


/ Published in: Bash
Save to your folder(s)

TAR command to preserve files' permissions


Copy this code and paste it in your HTML
  1. # Compression
  2. $ tar -pcvzf ABC.tar.gz ABC
  3.  
  4. # Decompression
  5. $ tar -pxvzf ABC.tar.gz

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.