Linux: rsync only files earlier than N days

PHOTO EMBED

Mon Aug 29 2022 14:31:56 GMT+0000 (UTC)

Saved by @marcopinero #bash

find /src/dir/ -mtime -<n days> -printf %P\\0|rsync --files-from=- --from0 /src/dir/ /dst/dir/
content_copyCOPY