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

Script hooks feature #37

Closed SpoddyCoder closed 7 years ago

SpoddyCoder commented 7 years ago

This is the follow on from the deeper_config_feature PR (https://github.com/billw2/rpi-clone/pull/35)

Adds pre & post rsync script hooks, which allows for a lot of customisation + tuning for specific use cases / setups. Typical use cases;

pre sync hook - turn off services / prepare source disk post sync hook - turn back on services / prepare cloned disk

Hope you think it adds utility and consider it a worthwhile improvement to include in the core tool.

SpoddyCoder commented 7 years ago

Closing pull request as these changes are now part of new ClonePi tool...

https://github.com/SpoddyCoder/clonepi