是否有任何命令以纳秒为单位显示 Apple 文件系统 (APFS) 时间戳?

Dom*_*mon 6 filesystems macos command-line apfs macos-high-sierra

我听说APFS 中的时间戳以纳秒为单位

是否有任何命令能够以纳秒为单位显示 APFS 时间戳?

我试过了lsstat但到目前为止还没有运气。

tha*_*kis 5

您可以通过请求浮点输出来获取纳秒时间戳:

% stat -f %Fm foo
1609297230.485880489
Run Code Online (Sandbox Code Playgroud)