emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp and recursive file operations


From: Stefan Monnier
Subject: Re: Tramp and recursive file operations
Date: Tue, 29 Sep 2009 16:53:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> recursive copy or deletion of files can last a long time, because all
> operations are performed file by file. This could be much faster, if
> Tramp would be allowed to apply such operations in one step, for a whole
> directory. Think about "scp" or "rsync".

> Therefore, I propose to add a file name handler to 
> `dired-copy-file-recursive'.

> Recursive file deletion happens via `dired-delete-file'. Here I propose
> to add a new function `dired-delete-file-recursive', which takes over
> the recursive part of `dired-delete-file', and which calls also a file
> name handler when appropriate.

> I volunteer to implement such handlers in Tramp :-)

> What do people think?

It seems OK, but I'd rather see them renamed to copy-file-recursive and
delete-file-recursive at the same time and made independent from dired.


        Stefan




reply via email to

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