This is my requirement:

rsync from remote directory only files that are created in last 4 days.

I am using an older version of rsync

$ rsync --help
rsync  version 2.6.8  protocol version 29

so there is no '-newer' option.

I tried to use this instead

While it can filter out the older files, it has a side effect: it removed the directory structure. Now all files are dumped to the root of my destination directory.

I have added '-print' to the find command but it did not help.

I have no permission to change layout in the remote server. Any remote side solution that requires write access will not be applicable.

link|improve this question

feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.