Antworten:
cp --remove-destination "$(readlink <symlink>)" <symlink>
illegal option -twenn ich es in eine Schleife stecke.
illegal option -- -anstatt es --remove-destinationals gültige Option zu erkennen. Befehl ist for f in (find . -type l); cp --remove-destination "(readlink $f)" $f;end;; Schale ist Fisch. Es wird über die illegale Option geklagt, ob das angegeben (readlink $f)ist oder nicht.
"$(readlink). Auch warum benutzt du die Shell, um die Schleife zu machen? find . -type l -exec cp --remove-destination "$(readlink {})" {} \;