Liam, et al --
...and then Liam Proven said...
% On Mon, 13 Mar 2023 at 12:50, David Thorburn-Gundlach
% wrote:
%
% > I don't know too many use cases for using rsync
% > to transfer files around(*) on local disk
%
% Just for what it's worth, this is one of those lines in an email where
% my eyes went wide and my eyebrows shot up. In British English usage, I
% boggled briefly.
Sorry about that :-)
%
...
% I use it for copying stuff onto external drives for backups.
Snipped out below were lots of across-filesystem activities that can't
be "move" but must instead be "copy-and-delete". I certainly can see
rsync for those since it validates the copy before deleting the source,
but I personally tend to use tar when I want to move stuff in bulk and
don't need ssh in the mix.
%
% I use it for copying files from an account I'm about to delete into
% another account, and for keeping stuff synched across different user
Aha! That's a very good point, and it hadn't even occurred to me. That
would be a case where I'd have to ssh into one account or the other or
drag out root (whether to copy-and-delete or mv-and-chown), and rsync
shines there. I just don't ever use any other accounts ;-)
% accounts. I use it for getting stuff back off backup disks. I use it
Continuous syncing is a yes, absolutely.
...
%
% The big win for rsync is that if something is missing or can't be read
% or something, it keeps going. You can take stuff from 2 dissimilar
I can definitely give it that, although when I run into a problem I want
to stop right there and know about it. It's great for restarting after a
failure, though; while not my most common use case, I'll go to it for
that.
...
%
% This has been one of those surprising moments when you find that your
% primary use for a tool is one that hasn't even occurred to someone
% else as being a use case at all.
And thanks for the reminder, since after excluding all of the ones that
don't count as "move" there was still a good reminder for me. When I
start finding myself shuffling between accounts, I'll think of you and
this thread!
%
% --
% Liam Proven ~ Profile: https://about.me/liamproven
HAND
:-D
--
David T-G
See http://justpickone.org/davidtg/email/
See http://justpickone.org/davidtg/tofu.txt