I am trying the following command using rsync to copy only files that
- are new
- have a different size
rsync -niav --size-only /home/me/source/Electronica /media/externalDrive/dest/Electronica However, this dry-run results in the following output:
>f+++++++++ Electronica/music/AlbumArt_{F0CB439F-A1FC-47DB-A698-C561191F3FDE}_Large.jpg >f+++++++++ Electronica/music/AlbumArt_{F0CB439F-A1FC-47DB-A698-C561191F3FDE}_Small.jpg >f+++++++++ Electronica/music/Folder.jpg which I interpret to mean that those files are copied. But they have the same size! (The times and flags are different, though). Also the rsync refers to an external hard-drive (with a different format).
I also tried the following commands:
rsync -niav --size-only --ignore-times /home/me/source /media/else rsync -niav --size-only --ignore-existing /home/me/source /media/else But still, these files are shown in the same way, meaning they would have copied. What else can I try?
And what is wrong with the main page description?
--size-only skip files that match in size
>f+++++++++indicates that the file (f) is copied (>) because it does not exist (+++++++++) on the remote side. Are you sure you're comparing the right paths (your current parameters will copy the content ofsourceintoelse/source)?/home/me/source/Electronica/Electronica. I interpret it that the files exist on both sides at the correct location...rsyncwill not have created/home/me/source/Electronica/Electronica, but will already check your source against its contents (of which there aren't any, of course).