1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

doc: ls: clarify description of timestamps

* src/ls.c (usage): Don't mention "modification" in the
description of ctime (-c), as it's confusing with mtime.
Mention "metadata" when discussing "change" time to
disambiguate from data change time.
* doc/coreutils.texi (ls invocation): State that --time=creation
falls back to using mtime where not available.
This commit is contained in:
Pádraig Brady
2022-08-12 13:40:00 +01:00
parent c7920f2b1b
commit 35fbc51d3f
2 changed files with 4 additions and 3 deletions

View File

@@ -8031,7 +8031,8 @@ sort according to the atime.
@opindex --time
@opindex birth time@r{, printing or sorting files by}
@opindex creation timestamp@r{, printing or sorting files by}
In long format, print the file creation timestamp if available.
In long format, print the file creation timestamp if available,
falling back to the file modification timestamp (mtime) if not.
When sorting by time or when not using long format,
sort according to the birth time.
@xref{File timestamps}.