I always use rsync to sync files on a portable drive and the internal drive.
Usually I create or download files to the portable drive and then
use rsync to help to sync the two drives.
Imagine I connect the portable drive to a linux system for the first time,
work on the data, and
then I sync the data, then disconnect it from the linux system since I need to shutdown the
Upon reboot, I connect the portable drive to linux again and then do rsync
just to make sure that no files need to synced.
However, I find that from time to time that the time stamp of the identical files on the portable drive and that on the internal drive
changes by just a little bit and this upsets rsync and trigger it to sync
Luckily, the time stamp will not change upon the second rysync.
Else rsync is going to work very hard as I accumulate more and more data
on the internal drive.
The following shows a typical change:
% ls --full-time external-drive/A.pdf
-rwxr-xr-x 1 user user 1773350 2012-05-19 17:14:38.000000000 +0800 external-drive/A.pdf
% ls --full-time internal-drive/A.pdf
-rwxr-xr-x 1 user user 1773350 2012-05-19 17:14:39.000000000 +0800 internal-drive/A.pdf
The GUI diff program "meld" is able to put a little red do tell the diff.
Is there a way to solve this weird feature ?