I would like rsync to report the file size at the source location for all files being reported when I use --itemize-changes or --out-format. For example, I know I can use the following format, "%i %f", to provide the type of change and the file name; however, I cannot find the correct escape code for file size. I tried %b but seem that related to bytes transferred and reports 0 for files that are not being changed.

Thanks in advance for the help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.