Skip to content
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

Copy with check and force mode #101

Merged
merged 3 commits into from
May 21, 2023
Merged

Copy with check and force mode #101

merged 3 commits into from
May 21, 2023

Conversation

umputun
Copy link
Owner

@umputun umputun commented May 21, 2023

This PR partially addresses #77 for the copy command. It adds the same default behavior sync already had i.e. skipping the copy operation in case the destination file is identical to the source file.

The check works the same way as rsync's default "quick check" and compares file sizes and modification time. Adding checksum support will be done too, some day.

The check can be suppressed by force option

@umputun umputun merged commit a31d25a into master May 21, 2023
@umputun umputun deleted the exec_options branch May 21, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant