brandt/symlinks

Convert relative symlinks to absolute

fictionic opened this issue · 1 comments

Relative symlinks are great, but as soon as you try to move them around, they break. The solution is to temporarily make them absolute links, move them, then re-link them in their new relative location. So if you have a whole bunch of symlinks within a directory, and you want to move the directory, it'd be a real pain unless there were a way to batch-convert all of them to absolute. Then once you move the folder, just run symlinks -c on it and boom.

It would be as simple as making an -a flag that would alter the behavior of -c.

I strongly Agree.