fix sync directories
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
ea2ca4d75e
commit
95983b77b9
@ -1,4 +1,10 @@
|
|||||||
#!/usr/bin/env nix
|
#!/usr/bin/env nix
|
||||||
#! nix shell nixpkgs#bash nixpkgs#findutils nixpkgs#attic-client --command bash
|
#! nix shell nixpkgs#bash nixpkgs#findutils nixpkgs#attic-client --command bash
|
||||||
|
|
||||||
find . -regex ".*\.drv$" -exec attic push cache-nix-dot '/ZFS/ZFS-primary/hydra/{}' \;
|
sync_directories=(
|
||||||
|
/ZFS/ZFS-primary/hydra
|
||||||
|
)
|
||||||
|
|
||||||
|
for dir in "${sync_directories[@]}"; do
|
||||||
|
find "$dir" -regex ".*\.drv$" -exec attic push cache-nix-dot '{}' \;
|
||||||
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user