Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Avoid rsync errors during backup due to Spotlight' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Avoid rsync errors during backup due to Spotlight
Authored by: curtinsmith on Nov 24, '05 05:58:57PM

I thought this might answer my problem but afraid it did not

I get the following error all the time when using rsync. Exmaple below

rsync: delete_one: unlink "/Users/admin/Desktop/test2/._macosxhints - Get the most from X!.webloc" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-20/rsync/main.c(717)

Command : rsync -aE --delete ~/Desktop/test1/ ~/Desktop/test2/

It happens only when using the --delete option

To recreate
1) Make folder called test1 and test 2 on desktop
2) Put some files in both folders. Make sure folder 2 has a metta data file kind that folder 1 does not have? I think this is the error. I created this file by loading a webpage in safari and dragging the name in the title to the desktop that created this file
3) Run command rsync -aE --delete ~/Desktop/test1/ ~/Desktop/test2/

# What should happen is all contents in folder 2 that are not in folder 1 should be removed and contents of folder 1 copied to folder 2

It does this and ls -la shows that this has happened but always gives this error

NOTE# The error only happens if the file that is being deleted is not a plain file

Does anyone know of a solution or is it a bugg in Rsync?

Google search shows this problem but no solution

Using 10.4.3 and rsync version 2.6.3 protocol version 28

[ Reply to This | # ]