billw2 / rpi-clone

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

cmd or script for full-automatic clone from Raspbian SD to another SD in card reader? #82

Open dsyleixa opened 4 years ago

dsyleixa commented 4 years ago

hello, thanks fo providing this tool, but all the cmd line parameters are killing me...

which would be a cmd or a .sh script for full-automatic clone from Raspbian SD to a SD in card reader?

it must be fool-prove to never falsely accidentally swap source (actual boot SD) and destination (SD in USB card reader) without any need to check anything before (checks are expected to be handled automatically by the cmd/script).

dsyleixa commented 4 years ago

PS, e.g. if I enter sudo rpi-clone sdb then I get an error "sdb not found in the partition table"

that is too weird to understand and to handle, so automatic settings are required.