Is there a script to move SD partitions to HDD, leaving boot RO

the script in /var/www/emoncms/scripts/usb_hdd/usb_hdd**

i was reading John banks post