Linux – How to rsync files / folders from a specific date forward

centosfindlinuxrsync

I would like to rsync folders from a specific date and forward.
for example. I want to rsync my folders that were created from 3 days ago (and of course 2 days ago, one day ago etc.).
I know I need to use find and rsync but I'm not sure how.
any idea?
Thanks!
Dotan.

Best Answer

rsync --progress --files-from=<(find /src_path -mtime -3 -type f -exec basename {} \;) /src_path/ /dst_path