<div dir="ltr">the filesystem is probably FAT because it is a thumb drive.... burned the brain cells remembering what the partition manager is called....<div>gparted says the file system is fat32. You are so right about it not liking the file names. I think it doesn't like the extension that rsync is adding but why is it addding it?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 29, 2016 at 6:34 PM, Brian Cluff <span dir="ltr"><<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    What kind of file system is the destination writing to?  It's highly
    likely that rsync is trying to write a file with a name that they
    destination file system doesn't like.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Brian Cluff</font></span><div><div class="h5"><br>
    <br>
    <div>On 01/29/2016 04:04 PM, Michael wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">but it was doing it fine before I downloaded the
        videos.
        <div>Hmmmmmm..... I just tried it as:</div>
        <div><br>
        </div>
        <div>
          <div> rsync -aWuq --delete-before /home/bmike1/Documents
            /media/bmike1/RedSanDisk</div>
        </div>
        <div>
          <div> rsync -rWuq --delete-before /home/bmike1/Documents
            /media/bmike1/RedSanDisk</div>
        </div>
        <div>
          <div> rsync -ruq --delete-before /home/bmike1/Documents
            /media/bmike1/RedSanDisk</div>
        </div>
        <div>
          <div> rsync -rq --delete-before /home/bmike1/Documents
            /media/bmike1/RedSanDisk</div>
        </div>
        <div>
          <div> rsync -r --delete-before /home/bmike1/Documents
            /media/bmike1/RedSanDisk</div>
        </div>
        <div>
          <div> rsync -a --delete-before /home/bmike1/Documents
            /media/bmike1/RedSanDisk</div>
        </div>
        <div>
          <div><br>
          </div>
          <div> And it keep doing the same thing:</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>
            <div>$ rsync -aWuv --delete-before /home/bmike1/Documents
              /media/bmike1/RedSanDisk</div>
            <div>building file list ... done</div>
            <div>Documents/</div>
            <div>Documents/Business/PropertyPhotographing/PrivateClients/</div>
            <div>Documents/Business/PropertyPhotographing/Sky/Blue/</div>
            <div>Documents/Business/PropertyPhotographing/Sky/Cloud1/</div>
            <div>Documents/Business/PropertyPhotographing/Sky/Cloud2/</div>
            <div>Documents/Business/PropertyPhotographing/Sky/Cloud3/</div>
            <div>Documents/Business/PropertyPhotographing/Sky/Cloud4/</div>
            <div>Documents/Business/PropertyPhotographing/Sky/Cloud5/</div>
            <div>Documents/Business/PropertyPhotographing/Sky/moon/</div>
            <div>Documents/Business/PropertyPhotographing/Vegetation/</div>
            <div>Documents/Business/PropertyPhotographing/Velocity/</div>
            <div>Documents/Business/PropertyPhotographing/Velocity/20160113/</div>
            <div>Documents/Business/PropertyPhotographing/Velocity/20160114/</div>
            <div>Documents/Business/PropertyPhotographing/Velocity/20160114/darktable_exported/</div>
            <div>Documents/Business/PropertyPhotographing/Velocity/20160114/test/</div>
            <div>Documents/Business/PropertyPhotographing/Velocity/test/</div>
            <div>Documents/Business/PropertyPhotographing/ad/</div>
            <div>Documents/Business/PropertyPhotographing/ad/darktable_exported/</div>
            <div>Documents/Education/Darktable/</div>
            <div>Documents/Education/Darktable/darktable-1:10WaterLilyEdit</div>
            <div>Documents/Education/Darktable/darktable-1:117Features2.0</div>
            <div>Documents/Education/Darktable/darktable-1:11Motorbike</div>
            <div>Documents/Education/Darktable/darktable-1:12Geotagging</div>
            <div>Documents/Education/Darktable/darktable-1:13Features1.4</div>
            <div>Documents/Education/Darktable/darktable-1:14Masks</div>
            <div>Documents/Education/Darktable/darktable-1:15ModuleEqualizer</div>
            <div>Documents/Education/Darktable/darktable-1:16BacklitPictures</div>
            <div>Documents/Education/Darktable/darktable-1:1intro</div>
            <div>Documents/Education/Darktable/darktable-1:2</div>
            <div>Documents/Education/Darktable/darktable-1:3NoiseReduction</div>
            <div>Documents/Education/Darktable/darktable-1:4BootsEdit</div>
            <div>Documents/Education/Darktable/darktable-1:5PerspectiveEdit</div>
            <div>Documents/Education/Darktable/darktable-1:6HairEdit1</div>
            <div>Documents/Education/Darktable/darktable-1:7HairEdit2</div>
            <div>Documents/Education/Darktable/darktable-1:8HDR</div>
            <div>Documents/Education/Darktable/darktable-1:9Download</div>
            <div>Documents/Education/The GIMP/The GIMP Magazine/</div>
            <div>Documents/Plants/</div>
            <div>Documents/childsupport/</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:10WaterLilyEdit.CccL3o"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:117Features2.0.QBpFFt"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:11Motorbike.8iELzH"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:12Geotagging.oRmWTY"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:13Features1.4.nyc6hk"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:14Masks.RAs9aL"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:15ModuleEqualizer.edwAId"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:16BacklitPictures.iZSO4H"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:1intro.Hkay7c"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:2.FYqqhL"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:3NoiseReduction.KN8Rzl"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:4BootsEdit.gg6Pl1"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:5PerspectiveEdit.VhV5EJ"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:6HairEdit1.hx0tDt"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:7HairEdit2.0SUXYe"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:8HDR.HbGzj3"
              failed: Invalid argument (22)</div>
            <div>rsync: mkstemp
              "/media/bmike1/RedSanDisk/Documents/Education/Darktable/.darktable-1:9Download.v7JmDV"
              failed: Invalid argument (22)</div>
            <div><br>
            </div>
            <div>sent 2,132,213,018 bytes  received 2,828 bytes
               69,908,716.26 bytes/sec</div>
            <div>total size is 8,091,764,760  speedup is 3.80</div>
            <div>rsync error: some files/attrs were not transferred (see
              previous errors) (code 23) at main.c(1183) [sender=3.1.0]</div>
          </div>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Jan 29, 2016 at 5:18 PM, Brian
          Cluff <span dir="ltr"><<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div 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<span><br>
                <br>
                <div>On 01/29/2016 02:01 PM, Michael wrote:<br>
                </div>
              </span>
              <blockquote type="cite">
                <div dir="ltr"><span>
                    <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 href="http://howden.net.au/thowden/2011/02/rsync-windows-failed-invalid-argument-22/" target="_blank">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>
                  </span>
                  <div>
                    <div><span>
                        <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>
                      </span>
                      <div style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
                        <div style="padding:0px;border:0px;vertical-align:baseline;width:548.172px;margin:1em 0px!important;font-size:1em!important">
                          <table 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>
                                  <div 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;min-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>
                                  <div 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;min-height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;background:none!important">
                                    <div 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;min-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 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;min-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 style="padding:0px;border:0px;vertical-align:baseline;width:548.172px;margin:1em 0px!important;font-size:1em!important">
                          <table 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>
                                  <div 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;min-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>
                                  <div 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;min-height:auto!important;line-height:1.1em!important;outline:0px!important;overflow:visible!important;width:auto!important;direction:ltr!important;background:none!important">
                                    <div 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;min-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 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;min-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>
                      <span>
                        <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 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)" target="_blank">Marcin</a> and <a 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)" target="_blank">Linux Questions Forum</a> for
                          the solution.</p>
                        <div><br>
                        </div>
                      </span></div>
                  </div>
                  <span> But I'm going from Linux to a USB
                    drive.
                    <div>-- <br>
                      <div>
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </span></div>
                <br>
                <fieldset></fieldset>
                <br>
                <pre>---------------------------------------------------
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
              </blockquote>
              <br>
            </div>
            <br>
            ---------------------------------------------------<br>
            PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
            To subscribe, unsubscribe, or to change your mail settings:<br>
            <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div>
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>---------------------------------------------------
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>