Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert relative symlinks to absolute #5

Open
fictionic opened this issue Jan 5, 2018 · 1 comment
Open

Convert relative symlinks to absolute #5

fictionic opened this issue Jan 5, 2018 · 1 comment

Comments

@fictionic
Copy link

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.

@LandisTwo
Copy link

I strongly Agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants