Every day 2 files are added to a directory, I need to get the latest added file and copy this to a directory for further upload. After this the folder is emptied. I would like to automate this in a batch process.
So far with Putty I only manage to copy the entire directory or manually type the name in the get command. Don't know if this might help but all files start with yyyymmdd1200 or yyyymmdd1600.
Any help is greatly appreciated