tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.1.7-pre); failing to copy filenames with spaces with rsync


From: Michael Albinus
Subject: Re: tramp (2.1.7-pre); failing to copy filenames with spaces with rsync method
Date: Thu, 01 Jun 2006 22:34:45 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Matt Swift <address@hidden> writes:

> Tramp won't copy files with spaces using the rsync method.  The
> problem can be fixed by calling `tramp-shell-quote-argument' from
> `tramp-make-copy-program-file-name' like this:
>
> (defun tramp-make-copy-program-file-name (user host localname)
>   "Create a file name suitable to be passed to `rcp' and workalikes."
>   (let ((filename (tramp-shell-quote-argument localname)))
>     (if user
>         (format "address@hidden:%s" user host filename)
>       (format "%s:%s" host filename))))

Thanks for the report! I've committed your patch to CVS.

Best regards, Michael.




reply via email to

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