fix: zfs-diff script

This commit is contained in:
Moritz Böhme 2023-09-29 20:42:17 +02:00
parent 99c3cbb12e
commit 76fe882747
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -29,7 +29,7 @@
name = "zfs-diff";
runtimeInputs = with pkgs; [ zfs coreutils parallel tree ];
text = ''
sudo zfs diff zroot/encrypted/root@blank | cut -f2 | parallel 'test -d /persist/{} || echo {}' | tree --fromfile .
sudo zfs diff zroot/encrypted/root@blank | cut -f2 | parallel 'test -e /persist/{} || echo {}' | tree --fromfile .
'';
}
)