Created
August 15, 2017 10:09
-
-
Save 0xBADC0FFEE/997bbbb0e1e3716c53489be136752d94 to your computer and use it in GitHub Desktop.
Get diff between two directories using rsync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -rcnC --out-format="\"%f\"" folder1/ folder2/ | xargs cp --parents -rfvt folder3/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment