FG
💻 Software

Mac OS X tool to sync / copy ONLY timestamp rather than data of a file? No file data transfer, only filesystem metadata gets synced

Fresh7 days ago
Mar 15, 20261459 views
Confidence Score0%
0%

Problem

This is my current situation (simplified, in fact of course many and large files): This has happened before: a b c were copied from Dir1 to Dir2. Within Dir2 the timestamps of a b c got modified accidentally. d got added to Dir2 intentionally. Now I want to do this: Sync Dir2 back to Dir1. (To whom…

Error Output

Dir1/
  a b c
Dir2/
  a b c d

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Mac OS X tool to sync / copy ONLY timestamp rather than data of a file? No file data transfer, only filesystem metadata gets synced

Low Risk

The --size-only flag in rsync is neither CPU nor disk intensive compared to the standard rsync check, in fact it is faster because normally rsync will check both the file size AND the timestamp. You could use the touch command to explicitly match up…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment