replace_symlink (string file, string search, string replace[, boolean absolute]) ⇒ boolean
Replaces a part of a symlink path, link, and searches for search, 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