Tag: gzip

  • a macOS .pkg file – an xar archive file

    Inside the .pkg, you will find a file by the name *.pkg/Payload. That’s in fact a gzipped cpio file, so this will show you its content:

  • extract timestamp from a gzip file

    https://unix.stackexchange.com/questions/79543/extract-timestamp-from-a-gzip-file/79546 http://www.forensicswiki.org/wiki/Gzip Try this: $ <foo.gz dd bs=4 skip=1 count=1 | od -t d4 0000000 1036139973 0000004 # with extended versions of dd resp. od: $ <foo.gz dd bs=4 skip=1 count=1 status=none | od —format=d4 –address-radix=n 1036139973 https://en.wikipedia.org/wiki/Unix_epoch – this is what the given command line shows you (actually with offsets around) How to display a…