cp remove-destination ln f readlink
Source
ln -f $(readlink bar.pdf) bar.pdf # makes it a hardlink to the same file
cp --remove-destination $(readlink bar.pdf) bar.pdf # makes it a completely separate regular file
cp remove-destination ln f readlink
Source
ln -f $(readlink bar.pdf) bar.pdf # makes it a hardlink to the same file
cp --remove-destination $(readlink bar.pdf) bar.pdf # makes it a completely separate regular file