I'm trying to execute the command
ls -e using a SFTP connection, but -e option is not available.
I need to get a date/time from creation file, example "Aug 11 19:36:40 2017"
I've already used the
ls -e using a SSH connection, but due some restrictions I can't use this connection.
ls -l is not a good solution, because files older than 1 year I won't get information about hours and seconds.
I'm using a shell script with sftp command to connect to remote server.
Can someone help me with this situation?