Only show changed files with verbose option

Posted by qox on Super User See other posts from Super User or by qox
Published on 2012-09-10T14:59:56Z Indexed on 2012/09/10 15:40 UTC
Read the original article Hit count: 154

Filed under:

I would like rsync to print modified and deleted files. The verbose option (-v) does print modified files but also the list of subdirectories, maybe because touched directories are considered modified. Since I sync a lot of files from a lot of subdirectories, it's impossible to see the actual changes.

So, is there a way to not print directories using rsync ?

Im not looking for grep -v "*/$" kind of answers since it would also exclude new directories.

Command I am using: rsync -avh --delete /media/data/src /media/data/bkp

And everytime it prints the list of all directories:

src/dir1/

src/dir1/sdir1/

src/dir1/sdir2/

src/dir2/

.....

Thanks for your help.

© Super User or respective owner

Related posts about rsync