I want to list files present in sftp outbox with year,month,date,hour and minute.
'ls -l --time-style=long-iso' working in other directories and giving the result as desired as below -
-rw-rw-r-- 1 abc abc 97 2021-07-30 03:51 xyz.log
but when I run above command in sftp outbox it says invalid flag -
sftp> cd outbox
sftp> ls -l --time-style=long-iso
ls: Invalid flag --
sftp>
How can I achieve the desired result in sftp outbox ?