I have a log file that contain a line below from sftp log
sftp> ls -lrt
drwxr-xr-x 1 22802 118581 96 Sep 12 12:24 sshkeys
-rw-r--r-- 1 0 0 2 Sep 28 17:48 epsout.Hi there you.txt
sftp> exit
Because there is a space in filename, my command below failed
failed to give me whole file name as "epsout.Hi there you.txt"
I've been searching but could not find a good solution for it.
Can some one help me
sftp> ls -lrt
drwxr-xr-x 1 22802 118581 96 Sep 12 12:24 sshkeys
-rw-r--r-- 1 0 0 2 Sep 28 17:48 epsout.Hi there you.txt
sftp> exit
Because there is a space in filename, my command below failed
Code:
cat sftp.log|grep epsout|awk '{print $9}'
I've been searching but could not find a good solution for it.
Can some one help me