Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

Official ZPE/YASS documentationreplace_symlink

replace_symlink (string file, string search, string replace[, boolean absolute]) ⇒ boolean

Replaces a part of a symlink path, link, and searches for the search term, replacing it with a replacement, replacement. If absolute is set to true, the new link is set with an absolute path.

First available: Version 1.10.7

Notes

This is one of the most powerful functions when working with symlinks, since it can be used to take an existing symlink and make a replacement within the path.

Comments
Feedback 👍
Comments are sent via email to me.