<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Those errors are probably occurring from copying files from a
    partition that supports permissions to a drive/partition with
    something like a fat32 filesystem that does not support permissions.<br>
    <br>
    By changing the -a to a -r rsync simply copies the files instead of
    trying to preserve all the permissions, so no errors.<br>
    <br>
    Brian Cluff<br>
    <br>
    <div class="moz-cite-prefix">On 01/29/2016 02:01 PM, Michael wrote:<br>
    </div>
    <blockquote
cite="mid:CAFRvunKHmyo1LrzWPHXTr_NFm4kw9GF1_P0gFWGu-s6eSUZvkg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>I run:</div>
          <div><br>
          </div>
          <div>   rsync -aWuq --delete-before /home/bmike1/Documents </div>
          <div>   /media/bmike1/RedSanDisk</div>
        </div>
        <div><br>
        </div>
        <div> and I get a bunch of errors that say:</div>
        <div><br>
        </div>
        <div>
          <div>   rsync: mkstemp  
            "/media/bmike1/RedSanDisk/Documents/Education/</div>
          <div>   Darktable/.darktable-1:7HairEdit2.y4Qitq" failed:
            Invalid argument (22)</div>
        </div>
        <div><br>
        </div>
        <div>in my search for an answer as to "why" I happened upon <a
            moz-do-not-send="true"
href="http://howden.net.au/thowden/2011/02/rsync-windows-failed-invalid-argument-22/">this</a>.
          (copied below for your convenience.) Their solution was to
          change the archive tag (-a) to a recursive (-r) tag. What
          about the other settings that -a preserves? <i> </i></div>
        <div>However, it didn't work for me and I just noticed that what
          rsync seems to be doing is taking all of the videos I have in
          the folder "Darktable" and refusing to copy them and in the
          error message appending the file name with a 6 character
          string (.y4Qitq in the example shown).</div>
        <div>Perhaps it is expecting a file type (.mp4 or something) and
          when it doesn't find it creates it's own.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div class=""
            style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;line-height:1.57143;color:rgb(68,68,68);font-family:'Helvetica
            Neue',Helvetica,Arial,sans-serif">
            <p style="margin:0px 0px
0.857143rem;padding:0px;border:0px;vertical-align:baseline;line-height:1.57143">Rsync
              from linux server to a Windows server as a redundant
              backup using cwrsync but getting an error for the chown
              command on the directories being backed up.</p>
            <p style="margin:0px 0px
0.857143rem;padding:0px;border:0px;vertical-align:baseline;line-height:1.57143">The
              issue was simple enough, stop telling rsync to change the
              owner as the linux command is invalid on the windows
              server.</p>
            <div
              style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
              <div id="highlighter_162932" class=""
                style="padding:0px;border:0px;vertical-align:baseline;width:548.172px;margin:1em
                0px!important;font-size:1em!important">
                <table
                  style="border-collapse:collapse;border-spacing:0px;color:rgb(117,117,117);width:548px;margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;line-height:1.1em!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;font-family:Consolas,'Bitstream
                  Vera Sans Mono','Courier
New',Courier,monospace!important;direction:ltr!important;table-layout:auto!important;background:none!important"
                  border="0" cellpadding="0" cellspacing="0">
                  <tbody
style="margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;background:none!important">
                    <tr
style="margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;background:none!important">
                      <td class=""
                        style="padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;font-family:Consolas,'Bitstream
                        Vera Sans Mono','Courier
New',Courier,monospace!important;direction:ltr!important;color:rgb(175,175,175)!important;background:none!important">
                        <div class="" style="margin:0px!important;padding:0px 0.5em 0px 1em!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;text-align:right!important;width:auto!important;direction:ltr!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">1</div>
                      </td>
                      <td class=""
                        style="width:515px;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;font-family:Consolas,'Bitstream
                        Vera Sans Mono','Courier
New',Courier,monospace!important;direction:ltr!important;background:none!important">
                        <div class=""
style="margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;background:none!important">
                          <div class="" style="margin:0px!important;padding:0px 1em!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;line-height:1.1em!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;display:inline!important;color:black!important;background:none!important">rsync -atv /directorytobackup/ windo
 w
sserver::cwshare</code></div>
                        </div>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <p style="margin:0px 0px
0.857143rem;padding:0px;border:0px;vertical-align:baseline;line-height:1.57143">changed
              to</p>
            <div
              style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
              <div id="highlighter_916067" class=""
                style="padding:0px;border:0px;vertical-align:baseline;width:548.172px;margin:1em
                0px!important;font-size:1em!important">
                <table
                  style="border-collapse:collapse;border-spacing:0px;color:rgb(117,117,117);width:548px;margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;line-height:1.1em!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;font-family:Consolas,'Bitstream
                  Vera Sans Mono','Courier
New',Courier,monospace!important;direction:ltr!important;table-layout:auto!important;background:none!important"
                  border="0" cellpadding="0" cellspacing="0">
                  <tbody
style="margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;background:none!important">
                    <tr
style="margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;background:none!important">
                      <td class=""
                        style="padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;font-family:Consolas,'Bitstream
                        Vera Sans Mono','Courier
New',Courier,monospace!important;direction:ltr!important;color:rgb(175,175,175)!important;background:none!important">
                        <div class="" style="margin:0px!important;padding:0px 0.5em 0px 1em!important;border-width:0px 3px 0px 0px!important;border-right-style:solid!important;border-right-color:rgb(108,226,108)!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;text-align:right!important;width:auto!important;direction:ltr!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important">1</div>
                      </td>
                      <td class=""
                        style="width:515px;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;font-family:Consolas,'Bitstream
                        Vera Sans Mono','Courier
New',Courier,monospace!important;direction:ltr!important;background:none!important">
                        <div class=""
style="margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;background:none!important">
                          <div class="" style="margin:0px!important;padding:0px 1em!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;border-radius:0px!important;float:none!important;height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;white-space:pre!important;background-image:none!important;background-repeat:initial!important"><code class="" style="margin:0px!important;padding:0px!important;border:0px!important;font-size:1em!important;vertical-align:baseline!important;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace!important;line-height:1.1em!important;border-radius:0px!important;float:none!important;height:auto!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;display:inline!important;color:black!important;background:none!important">rsync -rtv /directorytobackup/ windo
 w
sserver::cwshare</code></div>
                        </div>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
            <p style="margin:0px 0px
0.857143rem;padding:0px;border:0px;vertical-align:baseline;line-height:1.57143">and
              all is now quiet from an error message perspective.</p>
            <p style="margin:0px 0px
0.857143rem;padding:0px;border:0px;vertical-align:baseline;line-height:1.57143">Thanks
              to <a moz-do-not-send="true"
                href="http://www.itefix.no/i2/node/12250"
style="margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:none;outline:none;color:rgb(117,155,33)">Marcin</a> and <a
                moz-do-not-send="true"
href="http://www.linuxquestions.org/questions/linux-newbie-8/rsync-chown-errors-to-fat32-usb-drive-781736/"
style="margin:0px;padding:0px;border:0px;vertical-align:baseline;text-decoration:none;outline:none;color:rgb(117,155,33)">Linux
                Questions Forum</a> for the solution.</p>
            <div><br>
            </div>
          </div>
        </div>
        But I'm going from Linux to a USB drive.
        <div>-- <br>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">---------------------------------------------------
PLUG-discuss mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a class="moz-txt-link-freetext" href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
    </blockquote>
    <br>
  </body>
</html>