Hi
I have a zipped file with extension .gz
It contains just one file which is zipped . What is the command to view the timestamp of that file. I Don't want to unzip the file
Hi
I have a zipped file with extension .gz
It contains just one file which is zipped . What is the command to view the timestamp of that file. I Don't want to unzip the file
Try
gzip -lv file.gz
and look at the date and time column.
$ gzip -lv delete.txt.gz
method crc date time compressed uncompressed ratio uncompressed_name
defla bad21278 Nov 13 18:38 610 1301 55.3% delete.txt
$