Posted By

BenClayton on 12/24/10


Tagged


Versions (?)

Unix: Create tar.gz from folder (retaining permissions)


 / Published in: Bash
 

omit the p to NOT retain permissions

  1. tar -pczf name_of_your_archive.tar.gz /path/to/directory

Report this snippet  

You need to login to post a comment.