Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to move my emails Maildir from an old centos server to a new debian server.

rsync -avz /home/me/Maildir ssh root@ipaddress:/var/vmail/me/Maildir

I tried to copy an 8gb account, didn't work, try to move another about 20mb, didn't work, tried to use

-avn, didn't work either.

sync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]

share|improve this question
What do the previous errors say? – jordanm Apr 13 '13 at 1:39
@jordanm there's no previous error, it just says that there's a previous error, but i haven't seen any error – Lynob Apr 13 '13 at 13:23
up vote 1 down vote accepted

Error 23 is defined as a "partial transfer" and might be caused by filesystem incompatibilities, such as different character sets or access control lists. In this case it could be caused by files in /home that begin with a . and are thus marked hidden.

In this case you could try something like:

rsync -avz --exclude='/*/.local' /home/me/Maildir ssh root@ipaddress:/var/vmail/me/Maildir

The verbose argument -v should actually give you some sort of list of the problems.

share|improve this answer
the above line gave the same error – Lynob Apr 13 '13 at 13:23
The above line was meant as an example how to exclude one hidden directory, if you have more you probably have to adjust the line. – superuser0 Apr 13 '13 at 13:43
i needed to changed the permissions of the directories as well – Lynob Apr 14 '13 at 9:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.