tramp-devel
[Top][All Lists]
Advanced

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

Re: Looks like tramp doesn't act locally on servers connected to through


From: Michael Albinus
Subject: Re: Looks like tramp doesn't act locally on servers connected to through ssh
Date: Wed, 29 Apr 2015 20:59:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Diego Saa <address@hidden> writes:

Hi Diego,

> I might be wrong on this, but judging from the time it takes to copy
> files from a dired buffer displaying files on a server connected to
> through ssh to another dired buffer on the same server, it looks like
> Tramp is not acting locally on the server, but passing the data to my
> machine, and then back up to server again. 
>
> If this is the case, it doesn't seem very optimal, and I'd suggest to
> execute the cp command locally on the server, when dired is used in
> this manner.

Tramp is instructed to do it like this. However, both oldfile and
newfile must carry the same remote file prefix (no different user, for
example). And dired must call `copy-file' internally; don't know whether
it does.

Maybe you give us an example.

> Cheers,
> Diego

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]