In this previous
Emacs - Async File Copying in Dired using Rsync,
I have demonstrated how to use rsync to replace the built-in Dired copy
function. Today, I have improved that function so that rsync window will dislay
progress separately from my currently working windows. Moreover, after finishing
copying, it will show the message and automatically close the progress window
after 5 seconds. Also, the rsync progress window can not be selected by call
other-window. As a result, the rsync feature now does not affect my current
work. I can continue what I’m currently doing while leaving rsync take care of my
files.
Note: it would not run on Windows computers.
Implementation
This is the new code. Put it in your .emacs, replace with my old rsync function
if you have already use it.
Update 8 Apr 2013: I have improved the code a little bit so that later it
will be much easier for me to add new async function like moving,
compressing,… Also, this time, you can run multiple rsync process.
Read more