List full timestamps of files in a tarball
Posted
by
Mechanical snail
on Super User
See other posts from Super User
or by Mechanical snail
Published on 2012-09-08T02:07:47Z
Indexed on
2012/09/08
3:40 UTC
Read the original article
Hit count: 515
I have a large tar
archive and want to see the exact (nanosecond) timestamps that are stored for each file in the archive. In case it's relevant, the tarball is in POSIX-2001 format (tar --format=posix
).
tar --list --verbose
displays the timestamps rounded off to the minute.
For comparison, ls --full-time
does what I want, but I'd rather not have to extract everything first because it's huge.
For my purposes, command-line and GUI tools are both fine.
© Super User or respective owner