[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tramp and recursive file operations
From: |
Michael Albinus |
Subject: |
Tramp and recursive file operations |
Date: |
Tue, 29 Sep 2009 16:39:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi,
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?
Best regards, Michael.
- Tramp and recursive file operations,
Michael Albinus <=