Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 262 Bytes

File metadata and controls

11 lines (7 loc) · 262 Bytes

Tar Retain File Permissions

To retain file permissions we can use czf argument with tar command.

Example

tar czf {TAR_NAME}.tar.gz {NAME_DIRECTORY_TO_COMPRESS}

Source: Unix - StackExchange