I'm accesing an Ubuntu system using pcsp from PuTTY on a Windows PC. I need to retrive the last file created on a folder.
For now i only have a script that retrieves all the files on a folder:
set PATH=C:\Program Files (x86)\PuTTY;%PATH%
pscp
pscp [email protected]:unit_logs/* C:\Users\Zasil-Ha\Documents
How so I do to get the last file created on unit_logs folder???
Thank you in advance!