dired-rsync icon indicating copy to clipboard operation
dired-rsync copied to clipboard

Support adding files from different directories?

Open QiangF opened this issue 6 years ago • 4 comments

Dired rsync is amazing, it will be better if it can :

  1. selected files in multiple dired buffers is added to a list
  2. in dired-rsync--filter, the file that complete successfully is removed and unmarked in the source dir

Point 1 is because many user often need to copy files from multiple dirs to one target dir.

Point 2 is because the rsync process might be interrupted, it will be easier for the user to act further upon the failed files if they are left marked, if there are many dired buffers it 's better to differentiate form "*" by setting the dired-marker-char to "F",meaning failed. (the user can change marks with dired-change-marks)

QiangF avatar Sep 23 '19 07:09 QiangF

Would it be all dired marks or all dired marks bellow the invoked directory. In principle you could write a fetcher to collect all the paths.

stsquad avatar Nov 08 '19 11:11 stsquad

For point 2 we already have a hook into the sentinel for detecting the passphrase appearing. Maybe we should have a cleaner hook for this?

stsquad avatar Nov 08 '19 11:11 stsquad

If you can let the user see the list of failed files surely helps.

QiangF avatar Nov 09 '19 07:11 QiangF

It's hard to gauge that from the rsync output. If there is an invocation that gives a clean list of failed files we could scrape that information from the process buffer.

stsquad avatar Feb 14 '20 16:02 stsquad