<div dir="ltr">oops wrong copy:<div><br></div><div><div> $ rsync -aWuq --delete-before /home/bmike1/Documents /media/bmike1/Re</div><div>dSanDisk/</div><div>rsync: failed to set times on "/media/bmike1/RedSanDisk/Documents": Read-only file system (30)</div><div>rsync: failed to set permissions on "/media/bmike1/RedSanDisk/Documents/signature.jpg": Read-only file system (30)</div><div>rsync: failed to set permissions on "/media/bmike1/RedSanDisk/Documents/Business/i9Complete-pg1.jpeg": Read-only file system (30)</div><div>rsync: failed to set permissions on "/media/bmike1/RedSanDisk/Documents/Business/i9Complete-pg2.jpeg": Read-only file system (30)</div><div>rsync: failed to set permissions on "/media/bmike1/RedSanDisk/Documents/Business/Advantage": Read-only file system (30)</div></div><div>etc...</div><div><br></div><div>and the same thing happened whhen I added the slash to the source:</div><div><br></div><div><div>$ rsync -aWuq --delete-before /home/bmike1/Documents/ /media/bmike1/R</div><div>edSanDisk/</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00971.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00970.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00969.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00968.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00967.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00966.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00965.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00964.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00963.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00962.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00961.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00958.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00957.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00956.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00955.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00954.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00953.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00952.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00951.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00950.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00949.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00948.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00947.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00946.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00945.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00944.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00943.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00942.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00941.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00940.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00939.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00938.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/moveinphotos/DSC00937.JPG) failed: Read-only file system (30)</div><div>rsync: delete_file: rmdir(Documents/moveinphotos) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/language.training/QueOndaSpanish/<a href="http://www.queondaspanish.com/word/458176/corte_suprema_de_justicia">www.queondaspanish.com/word/458176/corte_suprema_de_justicia</a>) failed: Read-only file system (30)</div><div>rsync: delete_file: rmdir(Documents/language.training/QueOndaSpanish/<a href="http://www.queondaspanish.com/word/458176">www.queondaspanish.com/word/458176</a>) failed: Read-only file system (30)</div><div>rsync: delete_file: rmdir(Documents/language.training/QueOndaSpanish/<a href="http://www.queondaspanish.com/word/458175">www.queondaspanish.com/word/458175</a>) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/language.training/QueOndaSpanish/<a href="http://www.queondaspanish.com/word/458174/las">www.queondaspanish.com/word/458174/las</a>) failed: Read-only file system (30)</div><div>rsync: delete_file: rmdir(Documents/language.training/QueOndaSpanish/<a href="http://www.queondaspanish.com/word/458174">www.queondaspanish.com/word/458174</a>) failed: Read-only file system (30)</div><div>rsync: delete_file: unlink(Documents/language.training/QueOndaSpanish/<a href="http://www.queondaspanish.com/word/458173/los">www.queondaspanish.com/word/458173/los</a>) failed: Read-only file system (30)</div><div>rsync: delete_file: rmdir(Documents/language.training/QueOndaSpanish/<a href="http://www.queondaspanish.com/word/458173">www.queondaspanish.com/word/458173</a>) failed: Read-only file system (30)</div><div><br></div><div>etc.... </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 9, 2016 at 10:09 PM, Michael <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">well, I just ran it with the trailing slash and it gave me the same output as before except it happened immediately. The USB drive wasn't accessd for five minutes.</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, May 9, 2016 at 10:04 PM, Bob Elzer <span dir="ltr"><<a href="mailto:bob.elzer@gmail.com" target="_blank">bob.elzer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">My syncs look like this </p>
<p dir="ltr">Rsync -rauh --delete /frompath/fromdir /topath/todir</p>
<p dir="ltr">This copies the fromdir into the todir directory and copies all files and directories below fromdir</p>
<p dir="ltr">-r recursive<br>
-a archive - which is synonymous to -rlptgoD<br>
-u update :don't over write newer files<br>
-W copy whole files (don't do delta)<br>
-h human readable numbers</p>
<p dir="ltr">This backs up my stuff to an external drive, thus I don't need to do a delta or compression because it is all local<br>
--delete Any files that were removed from the source will be removed from the destination </p>
<p dir="ltr">If I were copying across a network, I add -z and remove -W<br>
Which will compress the transfer and only send changes when possible.</p>
<p dir="ltr">Normally I use --quiet and change it to --verbose or --progress when I want to monitor it</p>
<div class="gmail_quote"><div><div>On May 9, 2016 4:05 PM, "Michael" <<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><span><font size="4" face="verdana, sans-serif"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">When I run rsync one file (a directory) will not sync and the files in that file. I was wondering why. I thought that maybe if the file was in there to start that would fix it and it does so if only temporarily. Upon the next run of rsync the directory in question is deleted.</span></p>the command that is run:</font></span></div><div><span><font size="4" face="verdana, sans-serif"><div> $ rsync -aWuq --delete-before /home/bmike1/Documents /media/bmike1/RedSanDisk</div><div><br></div></font></span></div><div><font size="4" face="verdana, sans-serif"><br></font></div><font size="4" face="verdana, sans-serif"><a href="https://docs.google.com/document/d/1FAfv-aLaQR6HWUx8M-aZF4QL8oAsi6SH2Xg01vKpTPI/edit?usp=sharing" target="_blank">https://docs.google.com/document/d/1FAfv-aLaQR6HWUx8M-aZF4QL8oAsi6SH2Xg01vKpTPI/edit?usp=sharing</a><br clear="all"></font><div><font size="4" face="verdana, sans-serif"><br></font></div><font size="4" face="verdana, sans-serif">-- <br></font><div><div dir="ltr"><div><div dir="ltr"><div><font size="4" face="verdana, sans-serif">:-)~MIKE~(-:</font><br></div></div></div></div></div>
</div>
<br></div></div><span>---------------------------------------------------<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></span></blockquote></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></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</font></span></div>
</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>