I just needed a small shell (bash) script to synchronize the zfs snapshots of the dataset pool1/gesichert on two different PCs (PC1 and PC2) to be run on PC2. I asked Grok (MechaHitler), here is what it came up with: [bash] #!/bin/bash # Get latest snapshot on PC2 PC2_LATEST=$(zfs list -t snapshot -o name -s … Continue reading Using Grok to create a shell script