I would like to get the most recent file, in a specific directory, from remote nodes:
I am thinking about running a command similar to:
ls -lrt /tmp/backup |tail -1 | awk '{print $9}
then putting the results of that in the fetch command.
Any suggestions? Does this seem like a good path?