Having a (single, no batch filesystem processing needed) symlink, what a command line to use to replace it with a copy of the file it links to?
cp --remove-destination "$(readlink <symlink>)" <symlink>
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago