Re: SCP with Resume Feature

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 2 Apr 2021, Bob Proulx wrote:

> > I keep it... it's useful to push to machines before they have rsync
> > (e.g. to push updated sources.list, keys, etc).
> 
> Rename it (on Debian dpkg-divert it) to scp.real?  That would be fine.

That would be an option.

> > > a script wrapper that called rsync. "There! I deliverd an scp that
> > > handles resume. Problem solved."
> 
> > I've named mine rcp though.
> 
> And the circle is now complete.

That was the intention ;-)

> Though I guess there is no danger of
> it name colliding with the original real rcp anymore.

On some systems, rcp calls scp by default which can be irritating
when I don’t know whether I had placed mine there yet or not…
I learnt this later.

> The original problem was it needed to be called for it to be "scp" in
> order to meet the job spec.

Considering rsync’s vastly differing semantics especially regarding
trailing slashes for directories in source, destination and both,
I deliberately did not name it scp-alike. (I lost my eMail archives
once due to missing a slash, with rcp --delete. No big loss ofc, had
backups of anything really important.)

bye,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*************************************************

Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter

*************************************************
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux