add persist script to compare dirs for impermanence
This commit is contained in:
parent
d326cd0832
commit
6613f56600
16
scripts/persist.sh
Executable file
16
scripts/persist.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#! /usr/bin/env nix-shell
|
||||||
|
#! nix-shell -i bash -p rsync ripgrep
|
||||||
|
rsync -amvxx \
|
||||||
|
--dry-run \
|
||||||
|
--no-links \
|
||||||
|
--exclude '/tmp/*' \
|
||||||
|
--exclude '/root/*' \
|
||||||
|
/ /persist \
|
||||||
|
| rg -v '^skipping|/$'
|
||||||
|
|
||||||
|
rsync -amvxx \
|
||||||
|
--dry-run \
|
||||||
|
--no-links \
|
||||||
|
--exclude 'ataraxia/.vscode/*' \
|
||||||
|
/home/ataraxia /persist/home/ataraxia \
|
||||||
|
| rg -v '^skipping|/$'
|
Loading…
x
Reference in New Issue
Block a user