Useful Linux Script: modifica massiva di symlink

Ecco qua un bello script che potrebbe tornare utile in alcune occasioni: https://github.com/vpistis/linux-scripts.git [code lang=”bash”] #!/bin/bash # # Change part of destination path of a symlink # # thanx to: http://stackoverflow.com/a/25567429/5941790 # DIR=/home/ubuntu/ SYMLINKS=`find $DIR -maxdepth 1 -type l -print | tr -s ‘ ‘ | cut -d ‘ ‘ -f9` OLD_PATH=pippo NEW_PATH=pluto for l […]