- Convert symlink: Method to toggle between absolute and relative symlinks
- Could use something like
ln -sf
to convert in-place;ln -srf
can also ensure it's a relative link
- Could use something like
- Move directory without breaking (absolute) links contained within (and "move" can also be rename)
- Find absolute symlinks pointing to files within the directory structure (and store them in an JS object, relative to the path that's being changed)
- Convert all absolute symlinks that point to files within the directory to relative (temporarily)
- Move the directory