billw2 / rpi-clone

A shell script to clone a booted disk.
BSD 3-Clause "New" or "Revised" License
2.56k stars 333 forks source link

Not so much an issue as a hint... install overwrite problem #80

Open scargill opened 5 years ago

scargill commented 5 years ago

I updated cpi-clone to 2.0.21 2-3 days ago no problem - today I followed your 3-line instruction to update to 2.0.22 - RPI said no - the directory isn'y empty. I'm experienced enough to simply remove the original directory and continue on with the install. Others may not be. I checked to see if an override option is possible on git clone - arrarently not unless I just missed it. In my case before doing the install I did:

cd rm -r rpi-clone

that wiped the original.. I then proceeded as per your instructions...

On a Raspberry Pi: $ git clone https://github.com/billw2/rpi-clone.git $ cd rpi-clone $ sudo cp rpi-clone rpi-clone-setup /usr/local/sbin