nuttx-apps/nshlib
hanzhijian f57aa7b4cf nshlib/nsh_fscmds: Display modification time in ls -l output
Fixes #17063

Add modification time display to ls -l long format output.
The timestamp is shown as 'YYYY-MM-DD HH:MM' between the permission
string and the file size, following the ISO long-iso format.

Files with st_mtime == 0 (e.g., procfs, tmpfs pseudo-entries) skip
the timestamp display to avoid showing a meaningless epoch time.

Signed-off-by: hanzhijian <hanzhijian@zepp.com>
2026-06-30 10:03:03 -03:00
..
CMakeLists.txt netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
Kconfig netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
Make.defs nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
nsh.h netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
nsh_alias.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_altconsole.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
nsh_builtin.c sched/signal: Add support to disable partial or all signals 2026-01-15 15:48:54 +08:00
nsh_codeccmd.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
nsh_command.c nshlib: Add su, id, and whoami identity commands 2026-06-20 15:38:45 -03:00
nsh_console.c nshlib: fix infinite loop on broken stdout in nsh_catfile 2026-05-26 16:06:28 -03:00
nsh_console.h nshlib: Add stderr redirection support 2026-01-27 03:14:00 +08:00
nsh_consolemain.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_dbgcmds.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_dropbear.c netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
nsh_envcmds.c nsh/echo: Fix echo previous behavior, single write with '\n' 2026-06-27 13:44:14 +02:00
nsh_fileapps.c nshlib: Add stderr redirection support 2026-01-27 03:14:00 +08:00
nsh_fscmds.c nshlib/nsh_fscmds: Display modification time in ls -l output 2026-06-30 10:03:03 -03:00
nsh_fsutils.c nshlib: fix infinite loop on broken stdout in nsh_catfile 2026-05-26 16:06:28 -03:00
nsh_identity.c nshlib: Add su, id, and whoami identity commands 2026-06-20 15:38:45 -03:00
nsh_init.c netutils/dropbear: add Dropbear SSH server port for NuttX 2026-06-27 08:42:00 -03:00
nsh_login.c nshlib: Add su, id, and whoami identity commands 2026-06-20 15:38:45 -03:00
nsh_mmcmds.c apps/nshlib: Reuse local variable for cmd_memdump 2025-01-17 23:27:43 +08:00
nsh_mntcmds.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
nsh_modcmds.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_netcmds.c apps: Fix unchecked strdup()/asprintf() as requested in #1727 2026-05-23 16:30:52 -04:00
nsh_parse.c nshlib: Add su, id, and whoami identity commands 2026-06-20 15:38:45 -03:00
nsh_passwdcmds.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_printf.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_proccmds.c signals: fix build and runtime issues when signals all isabled 2026-01-19 22:55:19 +08:00
nsh_prompt.c nshlib: Add su, id, and whoami identity commands 2026-06-20 15:38:45 -03:00
nsh_routecmds.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_script.c apps: Replace O_RDOK with O_RDONLY after alias removal 2026-06-28 13:00:52 +02:00
nsh_session.c nsh: return EOF when nread is 0 2025-12-10 11:24:14 +08:00
nsh_syscmds.c nsh_syscmds/rpmsg: add rpmsg test command support 2026-01-08 22:50:11 +08:00
nsh_system.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_telnetd.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
nsh_telnetlogin.c nshlib: Add su, id, and whoami identity commands 2026-06-20 15:38:45 -03:00
nsh_test.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_timcmds.c !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
nsh_usbconsole.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
nsh_usbtrace.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
nsh_vars.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nsh_wait.c nshlib: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
rc.sysinit.template nsh/script: support rc.sysinit script 2022-04-21 12:54:24 +03:00
rcS.template nsh/script: support rc.sysinit script 2022-04-21 12:54:24 +03:00