Bug 13587 - Add a --dry-run way to show destination for each item
Summary: Add a --dry-run way to show destination for each item
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2018-08-21 23:03 UTC by Dan Jacobson
Modified: 2018-08-25 12:34 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Dan Jacobson 2018-08-21 23:03:56 UTC
User very much wants to know where the files _will go_ before daring to try an actual run.

He tries even
rsync -vv --dry-run --itemize-changes -avz x.y.z:dir1/dir2/backup/ backup/

but still there is no way to make it say
File x.y.z:dir1/dir2/backup/F1 will be copied to backup/F1
File x.y.z:dir1/dir2/backup/F2 will be copied to backup/F2
Comment 1 Dan Jacobson 2018-08-25 12:34:36 UTC
Thank you for https://lists.samba.org/archive/rsync/2018-August/031701.html

I was hoping for something simple like
$ cp -v m n
'm' -> 'n'

i.e., like a theoretical cp --dry-run -v
with no need for complicated %'s.