|
From: | Jim Porter |
Subject: | bug#70792: 30.0.50; [PATCH] Add Eshell support for expanding absolute file names within the current remote connection |
Date: | Mon, 6 May 2024 11:37:06 -0700 |
On 5/6/2024 11:28 AM, Jim Porter wrote:
Yes, but this breaks in non-obvious ways if Eshell's "cp" implementation falls back to the external program. For example, today:~ $ cp file /ssh:remote:~/file # copies "file" to a remote host ~ $ cp -b file /ssh:remote:~/file /usr/bin/cp: cannot create regular file '/ssh:remote:~/file': No such file or directory Or the second line might work if you get unlucky, or pass --parents, or...
By "work" here, I mean, "cp will copy the file, but to a place you likely didn't intend."
[Prev in Thread] | Current Thread | [Next in Thread] |