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.txtaa-18-04-2017.txtaa-17-04-2017.txtin local, I have to rsync the file aa.txt to my new directory.in case 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 advanceCurrently, RSYNC is copying all the files to our local directory and this causing storage issue on daily basis.
RSYNC to copy new files in different directory
ssh;rsync;archive