[CentOS] rsync output under CentOS 6

Tue Dec 16 21:33:29 UTC 2014
Stuart Barkley <stuartb at 4gh.net>

On Mon, 15 Dec 2014 at 11:41 -0000, Niamh Holding wrote:

> EP> Sounds like it might be differences in precision of the timestamp.
>
> Could be, thoght the NAS box has the sending system as it's NTP server so
> their times should be in sync.
>
> EP> Check out the `--modify-window` option.
>
> Doesn't seem to stop all the folders being listed even though nothing is
> transferred.
>
> /usr/bin/rsync -av --modify-window=20 --no-whole-file --delete /music /NSA320-music/
> .
> .
> .
>
> music/Yes/
> music/Yes/Close to the Edge/
> music/Yes/Fragile/
> music/Yes/Tales From Topographic Oceans/
> music/Yes/Yes Album/
> music/Yes/Yessongs/
> music/Yngwie Malmsteen, Joe Satriani & Steve Vai/
> music/Yngwie Malmsteen, Joe Satriani & Steve Vai/G3- Rockin' in the Free World/
> music/ZZ Top/
> music/ZZ Top/Live From Texas/
> music/ZZ Top/The Best of ZZ Top/
> music/ZZ Top/ZZ Top Greatest Hits/
> music/lost+found/

If you don't want the directories themselves checked you may want the
-O (--omit-dir-times) option.

If this is a CIFS or other DOSish filesystem you may also need --no-o
--no-p and/or --no-g to ignore other file attributes.

Stuart