FG

Unix equivalent of XCOPY /D

Fresh3 days ago
Mar 15, 202619962 views
Confidence Score0%
0%

Problem

Windows has a nice option to its XCOPY command: /D. This copies only files where the source modification time is newer than the destination time. Is there any unix/linux equivalent of this? I'm trying to get a fast copy to my local testing server.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Unix equivalent of XCOPY /D

Low Risk

I usually do: If you want it to delete files that doesn't exist anymore in /from/where add --delete. It can also be used from different boxes like this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment