So:
rsync -avHW /src/path /dest/path
Copies, but
rsync -avH /src/path /dest/path
Still copies more and no data has changed on the source or Dest.
I tried
# cd /source
# tar cf - * | ( cd /target ; tar xf - )
Followed by
rsync -avH /src/path /dest/path
But it still copies files.
Looks like tagging a -u to the rsync line fixes it. The destination appears for some reason to get newer timestamps.
"ls -la" shows expected time
"ls -lu" shows close to current time
--tmac
Or rsync --whole-file the first time, or ndmpcopy.
----- Original Message ----
From: Nils Vogels <bacardicoke@gmail.com>
To: tmac <tmacmd@gmail.com>
Cc: toasters@mathworks.com
Sent: Wednesday, May 23, 2007 3:59:21 PM
Subject: Re: rysnc and filers
Hi tmac,
On 5/23/07, tmac <tmacmd@gmail.com> wrote:
> Okay, I am trying to copy data from a DOT-7 to a DOT-GX.
>
...
>
> I then do (from RHEL4U2):
>
> cp -a /src/dir1 /gx
>
> I then do:
>
> rsyn -avH --delete /src/dir1/ /gx/dir1/
>
> There is nothing changing on the source, yet it transfers files anyway.
>
> Anyone have a clue as to why?
cp doesnt take all metadata. Try tar/cpio!
# cd /source
# tar cf - * | ( cd /target ; tar xf - )
--
Simple guidelines to happiness:
Work like you don't need the money,
Love like your heart has never been broken and
Dance like no one can see you.
____________________________________________________________________________________Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/