Gzip of folder while retaining original timestamp
0
votes
2
answers
2452
views
I want to do gzip of folder, and also want to retain original timestamp for that folder. Can someone suggest any way around it.
i tried below mentioned code. The timestamp which i am getting the time when zip happened.
tar -zcvf outputFileName folderToCompress
Asked by Code-x Go
(29 rep)
Dec 2, 2020, 07:35 AM
Last activity: Dec 2, 2020, 08:09 AM
Last activity: Dec 2, 2020, 08:09 AM