Bash Update symbolic links #!/usr/bin/bash find -type l -exec bash -c \ 'ln -f "$(readlink -m "$0")" "$0"' {} \; Note: I don’t know why I wrote this command… At some point, I may be useful ! Related (find) topics: Find files containing a specific pattern Color the output of find