Hi everyone
TAR of the FreeBSD by default do output of the archives's files list like this:
Question. How to get output of date and time like this ?
Is this possible to get date and time in more _convenient_ format ?
I have read all this manual https://www.freebsd.org/cgi/man.cgi?tar(1) and have not found anything.
Thank you in advance.
TAR of the FreeBSD by default do output of the archives's files list like this:
Code:
user@freebsd:~/archives % tar -tvf ./test.tar.gz
-rw-r--r-- 0 group user 28405 Jun 29 23:33 ./abc/123/file.dat
-rw-r--r-- 0 group user 48118 Dec 4 2015 ./abc/123/mysql.dat
-rw-r--r-- 0 group user 19068 Mar 8 2018 ./abc/123/backup.txt
Question. How to get output of date and time like this ?
Code:
user@somelinux:/mnt/abc/ $ tar -tvf ./_files.tar.gz
-rw-r--r-- group/user 5072 2018-10-24 10:55 ./files/file.php
-rw-r--r-- group/user 4161 2018-10-16 15:06 ./files/abc.php
-rw-r--r-- group/user 6810 2018-07-30 13:28 ./files/gbc.txt
Is this possible to get date and time in more _convenient_ format ?
I have read all this manual https://www.freebsd.org/cgi/man.cgi?tar(1) and have not found anything.
Thank you in advance.