-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Mirroring" should prune files at the destination not found at source #213
Comments
When using the term "mirroring" I'm referring to the help for
|
Any comment on this or? |
You're right. The wording of "mirror" is incorrect in this context. We should change it to something more accurate. |
Alternatively, add an action "mirror" option that performs mirroring. |
Mirroring (or sync) is requested before at #3. |
sonmezonur
added a commit
that referenced
this issue
Nov 5, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There either needs to be a switch in the
cp
command to prune files at the destination not found at the source, or the existing behavior should be altered to more accurately reflect how "mirroring" is defined. When a directory is "mirrored" to a target directory, that means at the end of the operation, the two should be identical. With s5cmd using the-n -s -u
switches does not produce this result and only adds files not found at the target.The text was updated successfully, but these errors were encountered: