Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. find . -type l -maxdepth 1 -print0 | while read -r -d "" link; do
  2. target="$(readlink "$link")"
  3. ln -nfs "$target/new" "$link"
  4. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement