View on GitHub

Quorten Blog 1

First blog for all Quorten's blog-like writings

Move relative symbolic links

2020-01-08

Categories: unix  
Tags: unix  

How do you move relative symbolic links correctly? Normally, the move command just moves the symbolic link file without changing its target. Unfortunately, there looks to be no easy way to do this with default commands. Rather, you must use third-party commands like the symlink -c command to change absolute links to relative, for example. Before moving, you should convert the relative links to absolute links.

20200107/DuckDuckGo move preserving relative symlinks
20200107/https://stackoverflow.com/questions/8523159/how-do-i-move-a-relative-symbolic-link