I realized I did not post the entire error.

building file list ... 
67 files to consider
./
rsync: failed to set times on "/musicbackup/.": Operation not permitted
(1)
Damon Marly/

rsync: failed to set times on "/musicbackup/.": Operation not permitted
(1)

sent 3176 bytes  received 422 bytes  2398.67 bytes/sec
total size is 305269148  speedup is 84844.12
rsync error: some files could not be transferred (code 23) at
main.c(791)

-----Original Message-----
From: John Van Essen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 29, 2005 2:14 PM
To: Savage, Elijah; rsync@lists.samba.org
Subject: Re: rsync to a SOHO NAS copies files everytime

On Thu, 29 Dec 2005, Savage, Elijah <[EMAIL PROTECTED]> wrote:
> 
> I am trying to use a SOHO NAS to rsync my music dir to. Every time I
run
> the command it copies the entire dir and files each time.
... 
> I am using FreeBSD 5.4 with the latest port build and I run the
command
> below to try and accomplish what I need. But what I have done since
the
> NAS is running smbfs I have simply mounted this drive with mount_smbfs
> to /musicbackup/. As you can see below it copies every file each time.

If you are copying from a *nix filesystem to a Windows filesystem
(which is implied by your use of mountsmbfs) then the timestamps may
not be matching since Windows uses a 2-second granularity.

Try using the 'stat' command on a file in the source and destination:

  stat "/music/Reggae/Damon Marly/01 - Confrontation.mp3"
  stat "/musicbackup/Damon Marly/01 - Confrontation.mp3"

The "Modify" times should be the same, down to the second.

If they differ by one second, use  --modify-window=1  and that will
allow rsync to match the timestamps.

(Wayne - the "copies every file" entry in the FAQ should also mention
this problem with Windows timestamps.  Even though it may not be "every
file", it may seem like it...)

    John
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to