fix: zfs-diff script

nixos
Moritz Böhme 2023-09-29 20:42:17 +02:00
parent 99c3cbb12e
commit 76fe882747
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 1 deletions

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 .
'';
}
)