Any equivalent of ls -larth for curl command ?
Hello Friends,
I am using curl command at its basic usage as below:
curl sftp://<name of sftp server>/<directory path to list files> -u<username> | tee -a logfile
However the problem is with above command it is listing files in haphazard manner. if it can list files in same way like unix ls -larth that would be great.
I can do this by doing sftp to the sftp server but that is taking ages therefore the need to use the curl command. I was told to use curl as an quicker and efficient approach to list file on sftp server.
Would appreciate input from Learned Gurus.
Thanks in advance.
|