zsh-workers
 help / color / mirror / code / Atom feed
* zsh/stat: output file birth time under Linux
@ 2021-06-14 12:09 Vincent Lefevre
  2021-06-14 12:17 ` Stephane Chazelas
  2021-06-14 18:50 ` Phil Pennock
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Lefevre @ 2021-06-14 12:09 UTC (permalink / raw)
  To: zsh-workers

Could zsh/stat output birth time under Linux, like what stat from
the GNU coreutils does?

cventin:~> zstat foo
device  2053
inode   21542983
mode    33188
nlink   1
uid     1000
gid     1000
rdev    0
size    0
atime   1623671935
mtime   1623671926
ctime   1623671926
blksize 4096
blocks  0
link    

cventin:~> /usr/bin/stat foo
  File: foo
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 805h/2053d      Inode: 21542983    Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/vlefevre)   Gid: ( 1000/vlefevre)
Access: 2021-06-14 13:58:55.440586835 +0200
Modify: 2021-06-14 13:58:46.488605110 +0200
Change: 2021-06-14 13:58:46.488605110 +0200
 Birth: 2021-06-14 13:56:54.992843658 +0200

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-14 20:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 12:09 zsh/stat: output file birth time under Linux Vincent Lefevre
2021-06-14 12:17 ` Stephane Chazelas
2021-06-14 19:47   ` Stephane Chazelas
2021-06-14 18:50 ` Phil Pennock
2021-06-14 20:05   ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).