Rsync error

Discussion in 'General Linux' started by link7722, Oct 19, 2012.

  1. link7722

    link7722 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello
    I am trying to copy a directory using rsync:
    Code:
    rsync -ar /sourcedir /destinationdir
    The directory is containing mail files (in maildir format).
    I get the following error:
    rsync: rename "/FilsrvBackup/maildata/username/Maildir/cur/.1349439381.V6802Ib16054M788390.mail:2,S.pmUCx6" -> "username/Maildir/cur/1349439381.V6802Ib16054M788390.mail:2,S": Invalid argument (22)
    For every single mail (which is a single file) i get the above error.
    As shown in the error, the original file has the name "1349439381.V6802Ib16054M788390.mail:2,S" and it seems that it tries to rename it to "1349439381.V6802Ib16054M788390.mail:2,S.pmUCx6".
    Any help would be appreciated.
    Thank you

  2. wg035164

    wg035164 New Member

    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Dear link7722,

    I readily admit I do not know what this error message really means. But have you tried the --dry-run option ? Maybe this gives you some extra clue.

    BR
    George

Share This Page