News for hackers. Stuff that matters.
Re:Ask HN: Linux laptop with MacBook-like build quality by linkmotif on Thursday July 06, 2017 @09:15AM (#14710121)
shh | dd? How does that work? Please say more.
Re:Ask HN: Linux laptop with MacBook-like build quality by lloeki on Thursday July 06, 2017 @09:24AM (#14710190)
Boot both machines via usb†, start ssh server on one

Depending on where the ssh server is (source or target):

    dd if=/dev/sda | ssh -C 1.2.3.4 dd of=/dev/sda
    ssh -C 1.2.3.4 dd if=/dev/sda | dd of=/dev/sda
† or mount the source / as ro, or systemd-switchroot to a ramdisk. Just make sure that source / is not getting writes. Or not, if you don't care.
Re:Ask HN: Linux laptop with MacBook-like build quality by mrkrab on Thursday July 06, 2017 @09:19AM (#14710142)
I presume, something like...

    ssh old_mac "dd if=/dev/sda" | dd of=/dev/sda