Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user-el
Navigation:
Lists: gentoo-user-el: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user-el@g.o
From: mrJesus <mrJesusSuperstar@...>
Subject: Re: check symlink validity
Date: Fri, 17 Feb 2012 00:16:28 +0200
το <div><br></div><div>    $ readlink -e /path/to/file</div><div><br></div><div>θα επιστρέψει 1 (fail) αν ο pointer δεν υπάρχει</div><div><br><br><div class="gmail_quote">2012/2/16 Theo Chatzimichos <span dir="ltr">&lt;<a href="mailto:tampakrap@g.o">tampakrap@g.o</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Καλησπέρα,<br>
<br>
μήπως γνωρίζει κανείς κανένα τρόπο (σε bash,python,perl ή ruby) να ελέγχω αν<br>
ένα symlink είναι valid? Για καταλόγους μπορώ να τους ακολουθώ και να παίρνω<br>
το exit code μετά, για αρχεία όμως?<br>
<span class="HOEnZb"><font color="#888888">--<br>
Theo Chatzimichos (tampakrap) | <a href="http://blog.tampakrap.gr" target="_blank">blog.tampakrap.gr</a><br>
Gentoo KDE/Qt, Planet, Overlays</font></span></blockquote></div><br></div>
References:
check symlink validity
-- Theo Chatzimichos
Navigation:
Lists: gentoo-user-el: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: check symlink validity
Next by thread:
Re: check symlink validity
Previous by date:
Re: check symlink validity
Next by date:
Re: check symlink validity


Updated May 30, 2012

Summary: Archive of the gentoo-user-el mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.