ls showing dates without year, even for files older than 1 year
As previously mentioned in this old topic https://winscp.net/forum/viewtopic.php?t=1804, the
I am using the latest WinSCP, 5.19.5 (Build 11933 2021-11-25), on Windows 10. At the command prompt, I type
In this case, the file names happen to include date information, which shows they were created in 2020, but from the listed timestamp, "Mar 7 11:02", I would normally infer that they were created in 2021 (since today is 2/8/2022).
ls
command is displaying file dates without the year, even for 1+ year old files, which makes it impossible to infer the correct date if the server holds any old files.
I am using the latest WinSCP, 5.19.5 (Build 11933 2021-11-25), on Windows 10. At the command prompt, I type
winscp
, then open
the server in question, enter username & password, then type the command ls
. Here's a sample of the output:
---------- 0 5305 Mar 7 11:02 XXXXXXXXXX 2020_03_07_080245.xlsx ---------- 0 5305 Mar 8 11:02 XXXXXXXXXX 2020_03_08_080254.xlsx ---------- 0 5305 Mar 9 11:02 XXXXXXXXXX 2020_03_09_080243.xlsx