#!/bin/sh echo zfs-diff-move /tank/target /tank/test "tank/test@$2" "@$1" ./zfs-diff-move /tank/target /tank/test "tank/test@$2" "@$1" echo rsync -avhx -@-1 --delete --inplace --no-whole-file --progress "/tank/test/.zfs/snapshot/$1/" "/tank/target/" rsync -avhx -@-1 --delete --inplace --no-whole-file --progress "/tank/test/.zfs/snapshot/$1/" "/tank/target/"