In the remote directory, iI have the below files and need to copy only the current daysday's files + previous run failures to my local directory.
Example: in Remote:
aa.txt
aa-18-04-2017.txt
aa-17-04-2017.txt
aa.txt
aa-18-04-2017.txt
aa-17-04-2017.txt
 inIn local, I have to rsync the file "aa.txt"aa.txt to my new directory.
 in caseIf the previous run got failed, I need to rsync two files (aa.txt, aa-18-04-2017.txtaa.txt and aa-18-04-2017.txt).
Can someone help me here to resolve this. Thanks in advance?
Currently, RSYNC is copying all the files to our local directory and this causing storage issue on daily basis.
 
                