Last Updated: February 25, 2016
· filosottile

Turn absolute symlinks into relative

You might want to do that for example before committing to a git repo (hint: you should), in order to make intra-repo symlinks work even if the working directory location changes.

symlinks -csr dir

symlinks is available both as a DEB and as a RPM package in most repositories.