Then that just leaves --dry-run. More flexibility you might not know:
If you double --itemize-changes it will show all the files it considers
including what it skips for being the same.
If you double -v you will get debugging for include/exclude rules.
On 09/12/2018 10:26 PM, Michael Hipp via rsy
My apologies. I'm evidently not communicating very well.
I am not asking for a list of what "needs to be transferred", I am
looking for a list of those things that are "candidates to transfer". In
other words, the source items minus exclusions/filters or anything else
that will be ignored (by
How would it know what needs to be transferred without looking at both
source and target? You are correct that it doesn't pay any attention to
the target because it doesn't need a target. If the source is remote
then it will connect to the remote to do a remote listing and if the
source is local
Thank you. But I'm afraid I don't understand. The man entry reads:
"--list-only
This option will cause the source files to be listed instead of
transferred. This option is inferred if there is a single source arg and
no destination specified..."
It doesn't say anything about "list remote
--list-only is simply a way to list remote files when you only have
access via rsync. It ignores the rest of the command line. You want
--dry-run (--itemize-changes would be a good idea too).
On 09/12/2018 11:06 AM, Michael Hipp via rsync wrote:
> The output of --list-only isn't as I expected as
The output of --list-only isn't as I expected as regards symlinks. Here
are my test files:
$ ls ./src
-rw--- 1 michael michael0 2018-09-05 09:18:15 file
lrwxrwxrwx 1 michael michael4 2018-09-05 09:18:28 near_symlink -> file
lrwxrwxrwx 1 michael michael 23 2018-09-05 09:19:05 far