Today's one liner: zfs list -t snapshot -o name -s creation | tail -n 1 | sed 's/zpool\/home@//g'. This is to ensure I backup from the latest snapshot in my borg backup setup. Had to revamp the script after migrating to #sanoid developed by @jimsalter . Maybe now I can get my head around zfs replications then setup syncoid. Wait I got to do test restores from the backups. Derp.