Re: ctrl -c while executing --progress --size-only --partial results in unhidden but incomplete file
Kevin Korb via rsync <[email protected]> Wed, 7 Jun 2023 15:26:15 -0400
| Newsgroups | gmane.network.rsync.general |
|---|---|
| Message-ID | <[email protected]> |
That is what --partial does. It keeps the partial file. If it kept the temporary file with the random file name that would just be a useless orphaned file. On 6/7/23 15:02, Lacey, Nathan via rsync wrote: > This is a clone from https://github.com/WayneD/rsync/issues/484 > <https://github.com/WayneD/rsync/issues/484> > > 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! > > > -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. [email protected] (work) Orlando, Florida [email protected] (personal) Web page: https://sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html