<div dir="ltr">Here's the script at this point. I have two of them (one for cdimages, one for packages), but they both work the same.<div><br></div><div><br><div><br></div><div>==================</div><div><br></div><div>while [ 1 ]<br><br>do<br><br>#Download archives<br># rsync -a --progress --delete rsync://<a href="http://ubuntu.cs.utah.edu/ubuntu">ubuntu.cs.utah.edu/ubuntu</a> /media/8TB/ubuntu-mirror<br># rsync -a --progress --delete rsync://<a href="http://mirrors.syringanetworks.net/ubuntu-archive">mirrors.syringanetworks.net/ubuntu-archive</a> /media/8TB/ubuntu-mirror<br> rsync -a --progress --delete rsync://<a href="http://mirror.arizona.edu/ubuntu">mirror.arizona.edu/ubuntu</a> /media/8TB/ubuntu-mirror<br> chown -R charles:charles *<br># Download ISO<br># rsync -a --progress --delete rsync://<a href="http://cdimage.ubuntu.com/cdimage">cdimage.ubuntu.com/cdimage</a> /media/8TB/ubuntu-cdimage<br># chown -R charles:charles *<br># Check for errors/abends<br><br> if [ "$?" = "0" ] ; then<br> echo "rsync completed normally"<br> exit<br> else<br> echo "rsync failure. Retrying..."<br> sleep 600<br> fi<br><br>done<br></div><div><br></div><div>================</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 17, 2020 at 4:03 PM Thomas Ward <<a href="mailto:teward@ubuntu.com">teward@ubuntu.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>What specific RSync command are you using? When you use `*` it
might cause issues, or if the filename is named `*` you're trying
to rsync it will not work right either. Details about what
command you're using **exactly** would be helpful.</p>
<p>If you need it, I can bundle up my mirror sync scripts (I have
one for cdimage and one for packages) and share them with you if
you think that'd be helpful.</p>
<p><br>
</p>
<p>Thomas</p>
<p><br>
</p>
<div>On 3/17/20 8:49 AM, Charles Chambers
wrote:<br>
</div>
<blockquote type="cite">
<pre>I may or may not be having an issue with my connection.
I mirror both the cdimages as well as packages.
On both, rsync is failing, with the error message showing of:
chown: cannot access ‘*’: No such file or directory
rsync failure. Retrying...
And nothing further happens.
Control C on the session, restart it, and the same outcome.
It's been in place for a few months while I figure out how to get a
static IP and go public.
Do I need to change anything?
</pre>
<br>
<fieldset></fieldset>
</blockquote>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Charlie<br><a href="mailto:cchamb2@gmail.com" target="_blank">cchamb2@gmail.com</a></div>