Re: Deleting files on temporary network dropouts

Mo B <[email protected]> Fri, 16 Jan 2026 05:17:04 -0800 (PST)
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
------=_Part_107364_781645364.1768569424413
Content-Type: multipart/alternative; 
	boundary="----=_Part_107365_298774718.1768569424413"

------=_Part_107365_298774718.1768569424413
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Friday, January 16, 2026 at 1:01:41=E2=80=AFPM UTC+1 Greg Troxel wrote:

However, the stat results are intriguing. seeing * makes me think the=20
ls failed entirely, since otherwise I would expect it to have globbed by=20
the shell,=20


I'm not sure why the ls loop gives a different result than the stat loop.=
=20
The * shell glob would do some opendir() and readdir() for whatever of the=
=20
both loops before it runs a ls or stat on the contained files.
I'm not sure either if disconnecting and switching networks will give the=
=20
same test scenario like weak mobile links which I can't easily emulate if=
=20
not running some of these tests all the day in background.

To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].

------=_Part_107365_298774718.1768569424413
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><div dir=3D"auto">On Friday, January 16, 2026 at 1:01:41=E2=80=AFPM UT=
C+1 Greg Troxel wrote:<br /></div><blockquote style=3D"margin: 0px 0px 0px =
0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Howev=
er, the stat results are intriguing.  seeing * makes me think the
<br />ls failed entirely, since otherwise I would expect it to have globbed=
 by
<br />the shell,
<br /></blockquote><div><br /></div><div>I'm not sure why the ls loop gives=
 a different result than the stat loop. The * shell glob would do some=C2=
=A0opendir() and readdir()=C2=A0for whatever of the both loops before it ru=
ns a ls or stat on the contained files.</div><div>I'm not sure either if di=
sconnecting and switching networks will give the same test scenario like we=
ak mobile links which I can't easily emulate if not running some of these t=
ests all the day in background.</div></div>

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">unison-u=
[email protected]</a>.<br />

------=_Part_107365_298774718.1768569424413--

------=_Part_107364_781645364.1768569424413--