FG
💻 Software

rsync files newer than 1 week

Fresh5 days ago
Mar 15, 202655255 views
Confidence Score0%
0%

Problem

I want to run rsync on server A to copy all files from Server B when they are newer than 7 days. I don't want to delete the files on Server B.

Error Output

find . -mtime -7

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: rsync files newer than 1 week

Low Risk

This should get you underway in a solid way This copies device nodes, permissions, timestamps. I'm pretty sure the -H option won't be accurate with --files-from

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment