Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a symbolic link instead of copy to /usr/local/sbin/.. #165

Open
A-Fromell-Private opened this issue Oct 4, 2023 · 0 comments
Open

Comments

@A-Fromell-Private
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant