[tex-live] texlinks patch - unlink option

Edd Barrett vext01 at gmail.com
Wed Oct 10 12:32:50 CEST 2007


On 10/10/2007, Zdenek Wagner <zdenek.wagner at gmail.com> wrote:
> 2007/10/10, Edd Barrett <vext01 at gmail.com>:
> > Hi there,
> >
> > I have added an option to the texlinks script which allows the user to
> > unlink, effectively reversing the texlinks process. I needed this to
> > clean up the filesystem before the texlive package is removed.
> >
> The following command removes all symlinks to nonexistent files:
>
> find / -name "*" -type l ! -xtype f ! -xtype d -ok rm {} \;

I'd rather remove explicitly, links that texlive owns (unreferenced or
not), incase I break other parts of the operating system. Thanks for
the suggestion.

-- 
Best Regards

Edd

---------------------------------------------------
http://students.dec.bournemouth.ac.uk/ebarrett


More information about the tex-live mailing list