9
1
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/
EDIT: Ok, after some intensive tests .. It doesn't print all directories when syncing from an ext4 partition to an ext4 and from NTFS to NTFS. It only does when syncing from ext4 to NTFS .. And options -c
or --omit-dir-times
don't change that.
Thanks for the reply. I find hard to believe it's not natively supported, at least without losing perfomance (or options) .. I'll just have to trust it syncs it all. – qox – 2012-09-10T20:03:47.680
Sorry, my edit changed the question after your answer. – qox – 2012-09-12T09:00:20.397