From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.help Subject: Re: Dired command on same host Date: Wed, 05 Jan 2022 14:02:41 +0100 Message-ID: <87lezu5o9a.fsf@elite.giraud> References: <877dbf94su.fsf@elite.giraud> <87czl77j7e.fsf@gmx.de> <87iluz79ja.fsf@elite.giraud> <878rvv73mr.fsf@gmx.de> <87k0ffp9mp.fsf@gnu.org> <874k6i79of.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38222"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: help-gnu-emacs@gnu.org, Tassilo Horn To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 05 14:04:21 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n55xk-0009jv-Ps for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 14:04:20 +0100 Original-Received: from localhost ([::1]:45908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n55xi-0002rI-Mn for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 08:04:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n55wN-0002oC-EW for help-gnu-emacs@gnu.org; Wed, 05 Jan 2022 08:02:58 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:15537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n55wI-0005eT-Py; Wed, 05 Jan 2022 08:02:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=khPbODPBIXFO7z8B TvQnrbCdOu/KwQIvQAqPcz483x8=; h=in-reply-to:date:references:subject: cc:to:from; d=ledu-giraud.fr; b=ggAe8nLTtJKRL9Jt9kYBvOu2XViBdSM7pvoeRu RAio7qpxjrhLFQNCJs+BmIG+phQm7NfaW0msZHyvHxSAL9yZZo3d1IhYFfm24OlSHhZUka XBrpmRJCWuIoBEaE94+/PNqWMbu8kpSw+Edk8xV9gcEwYR7Qnqx70yaa00QVlrTrSET/Gq 0QveX44k7Q2voRt6QU8XQ88xWxVpGeckjwcts4n1miwUYapxcEbBb23dYK2kKW37A66+Ad rKAi0rm+EIC+pQD1Xou4EQipLoNlQJsh7Jbg8RaD06pCIggpgnOUNqhHSoc6Inz+Pk9wKC P2myH4MXS5BM9HfROP5+ughw== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 0c69b31b (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 5 Jan 2022 14:02:42 +0100 (CET) In-Reply-To: <874k6i79of.fsf@gmx.de> (Michael Albinus's message of "Wed, 05 Jan 2022 11:34:40 +0100") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135107 Archived-At: Michael Albinus writes: [...] > I've just applied some tests. If I run "scp hostA:/path/to/file > hostB:/another/path", scp assumes the "-3" argument by default. That > means, it copies the file first from hostA to my local host, and copies > then from my local host to hostB - like Tramp does. The difference is, > that it keeps the local transfer file in /tmp. I've made the same test : scp hostA:/path/to/file hostB:/another/path and with a relatively large file (1.5 GB) and it works as expected without filling /tmp. I'm using scp on fairly recent openbsd machine. OTOH, the out-of-band method of tramp fills up my /tmp (which is only 256 MB). So maybe, having tramp out-of-band trying to "scp hostA:old hostB:new" before relying on other method could be enough without going to the trouble of out-of-band from hostA to hostB directly? -- Manuel Giraud