Created
January 22, 2020 05:27
-
-
Save taylor-jones/d9f5c3f49b4afdc40fbccbcf20a1a80e to your computer and use it in GitHub Desktop.
Update all symlinks in a given directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example | |
# Update all symlinks that point to "foo" to now point to "baz" | |
find . -lname foo -exec ln -sf baz {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment