Use a symbolic link instead of copy to /usr/local/sbin/.. #165
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I propose to use symbolic links for the cloned files instead of copy them to /usr/local/sbin
Ex.
sudo ln -s $(pwd)/rpi-clone /usr/local/sbin/rpi-clone
sudo ln -s $(pwd)/rpi-clone-setup /usr/local/sbin/rpi-clone-setup
The major advantage is:
if you update to the latest release by:
sudo git fetch https://github.com/billw2/rpi-clone.git
If/when updates are made to rpi-clone or rpi-clone-setup the links in /usr/local/sbin are then pointing to the new updated files.
Eg. no need to copy the files..
Best regards,
Anders Fromell