How to check whether stow skipped pointing symlink or not

Ítalo Vieira <[email protected]> Sat, 8 Oct 2022 17:30:15 -0300
Newsgroups gmane.comp.gnu.stow.general
Message-ID <CADwb79=nyXPXwvbEsY-BjZ99Js9EDCKTRW0TSTCYKpQs3e5PkA@mail.gmail.com>
--000000000000ec7cdd05ea8bcb97
Content-Type: text/plain; charset="UTF-8"

Hi there,

I was wondering if `stow` provides a way to check whether it skipped
pointing symlink to destination since it already exists or not.
The only way I accomplished that was looking at the stderr output using the
-vv option and finding if it has '--- Skipping' text.

The motivation is to use it with Ansible to execute `stow` idempotently.

Is there a neat way to do that?

--000000000000ec7cdd05ea8bcb97
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi there,</div><div><br></div><div>I was wondering if=
 `stow` provides a way to check whether it skipped pointing symlink to dest=
ination since it already exists or not.</div><div>The only way I accomplish=
ed that was looking at the stderr output using the <code class=3D"gmail-not=
ranslate">-vv</code> option and finding if it has &#39;--- Skipping&#39; te=
xt.</div><div><br></div><div>The motivation is to use it with Ansible to ex=
ecute `stow` idempotently.</div><div><br></div><div>
Is there a neat way to do that?</div></div>

--000000000000ec7cdd05ea8bcb97--