Re: Deleting files on temporary network dropouts

Greg Troxel <[email protected]> Fri, 16 Jan 2026 07:01:35 -0500
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
I agree that your script does what I asked, but on seeing it I had a few
more thoughts.

There could be caching in davfs2, so asking for the same dir repeatedly
is likely ok if it works the first time.

So, I'd change the sleep to something 900s, and then in between do
things that look at a lot of other data and thereby implicitly flush the
cache.  And then run this while you are out and about on weak wifi.

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

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