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

ctrl -c while executing --progress --size-only --partial results in unhidden but incomplete file #484

Closed
nlacey opened this issue May 23, 2023 · 1 comment

Comments

@nlacey
Copy link

nlacey commented May 23, 2023

run rsync with --progress --size-only --partial (version 3.1.2) also tested/built current master ( 3.3.0pre1-5-g6f3c5ecc )
everything works fine unless I interrupt a transfer ( ctrl c )

I would expect to see the incomplete, temporary, hidden file present on the remote machine.
So that when I call rsync again, it could just pick up where it left off and continue transferring data.

But instead there is no hidden file, and the partial/incomplete file exists, as the actual filename.

This is bad, because any code that is expecting existing non-hidden files to be complete will have issues.

I apologize if I've missed the command line options I'm looking for
Thanks for maintaining a critical piece of software!

@nlacey
Copy link
Author

nlacey commented Jun 8, 2023

The command line option I'm looking for is --partial --partial-dir {hidden relative_sub-dir}
When interrupted, the temporary filename is moved to final non-hidden name, but the unfinished file stays in hidden folder

Thanks Kevin K for helping me out!

@nlacey nlacey closed this as completed Jun 8, 2023
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

No branches or pull requests

1 participant