I'm parsing rsync's output and would like to be certain that I know what input I get. I'm wondering whether to use --out-format '%i %n'
or --out-format '%i %f'
, but what's the difference, apart from the trailing slash on directories?
man rsyncd.conf
says under log format
:
- %n the filename (short form; trailing "/" on dir)
- %f the filename (long form on sender; no trailing "/")
– what's the difference between "short form" and "long form"?