In remote directory, i have below files and need to copy only the current days files + previous run failures to my local directory.
Example: in Remote: aa.txt aa-18-04-2017.txt aa-17-04-2017.txt
in local, I have to rsync the file aa.txt to my new directory. incase previous run got failed I need to rsync two files (aa.txt, aa-18-04-2017.txt).
Can someone help me here to resolve this. Thanks in advance