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: Dired command on same host Date: Tue, 04 Jan 2022 11:24:49 +0100 Message-ID: <877dbf94su.fsf@elite.giraud> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15381"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 04 11:25:27 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 1n4h0Q-0003j6-Oe for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 11:25:26 +0100 Original-Received: from localhost ([::1]:58936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4h0P-00085b-Ku for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 05:25:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4gzv-00083y-SM for help-gnu-emacs@gnu.org; Tue, 04 Jan 2022 05:24:55 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:43162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4gzt-0007Ew-Pg for help-gnu-emacs@gnu.org; Tue, 04 Jan 2022 05:24:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=MKQIkd5eR+sBEMen dlVcXytj0UVDskwPYLEwbwbs0QU=; h=date:subject:to:from; d=ledu-giraud.fr; b=nqKBUxE8WFg100XpYMgD6JZPtPzia668ima4mjMtoIJUjNjkLH sGdpAI6BUmFNcbKolbwzguNkumJ+4NIsQie57hFzHhnB+UoIhg8M+DGbVUWgIajyEYvVlU dlsyVSzmuLk/0c5GSS5Ryo15OKy5gebhS93tMlAKPa9Jffk7DIHRmbuxNefNnSugcrTIhK 51SqcAlqbwCcdBttiAkzzGrPdhDF6JkMDKEFNE4C612lblQCxrg63rzsmxAS/D9q/itGTF GmF9rErHELwDjaFYibcstd+Feu1++uyY8Dt2fyze8f2AWDfN3SrBaAnx0k6DozQLcMoSyZ aEOLfwMG4thQ== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 9a2dcf84 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Tue, 4 Jan 2022 11:24:50 +0100 (CET) Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) 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=unavailable 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:135095 Archived-At: Hi, I'm happily using dired and tramp with `dired-dwim-target' set to t. So when I'm in this frame configuration: +-------------+-------------+ | | | | some dired | other dired | | on host A | on host A | | | | | | | | | | | | | +-------------+-------------+ I can, for example, copy some files from one directory to another. But when I do this, tramp copy the file over ssh to my local /tmp before copying it back to the other directory. It can be a problem when the file is too big. Is it possible for tramp to detect that this is the same host and just make a simple cp on host A? Same question for two different hosts: Is it possible to make tramp do a scp from host A to host B directly? -- Manuel Giraud