[Bug 13615] Output of --list-only not as I expected re: symlinks

samba-bugs at samba.org samba-bugs at samba.org
Tue Nov 20 22:37:06 UTC 2018


https://bugzilla.samba.org/show_bug.cgi?id=13615

--- Comment #3 from Kevin Korb <rsync at sanitarium.net> ---
I believe I talked to you in IRC about which is why I didn't respond when this
was first posted but I think I can help explain this better...

The --list-only option is to turn rsync into a network capable ls.  It allows
you to look around a remote filesystem that you can only access via rsync over
ssh or rsyncd.  It kinda implements some rsync options to kinda do more of what
ls can do but it is still a bit of a kludge to allow you to look around.  For
local stuff using ls is a much better idea.

That being said, if you want rsync output even if your target is unavailable
you can always talk to localhost.  You can do something like:
rsync --verbose --archive --itemize-changes --dry-run --ignore-times ./
localhost:`pwd`/

The --ignore-times is there so rsync will think all files need to be copied and
therefore they will always all be listed.  Otherwise ./ and localhost:`pwd`/
will always be identical and nothing would be listed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list