Skip to main content

Rsync write and mkdir failed

Comments

2 comments

  • GoWilkes
    Nevermind, I manually created the directory and then it worked. I read old articles (2013-ish) that said you had to create it manually, but then newer articles that said you didn't, so it was confusing... maybe my server has an old version of rsync on it? I know that /new100GBDisk/home/ didn't exist, either, which would explain why "mkdir "/new100GBDisk/home/example" failed; it wasn't creating the entire tree. I also read that the -R (--relative) option would create the full tree, but you had to somehow "use . to anchor the starting parent directory"... I'm not entirely sure that I understand that, though:
    0
  • cPRex Jurassic Moderator
    Glad you tracked that down - I've always found it best to create the paths first when using those commands.
    0

Please sign in to leave a comment.