Created
October 4, 2013 08:50
-
-
Save nasieti/6822964 to your computer and use it in GitHub Desktop.
RSYNC - delete vs exclude
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 --del will refuse to delete files vanished from source (even when the whole parent dirs are gone), but appear in --exclude directives. you may agree with the logic, or not. | |
override with --delete-excluded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment