diff --git a/utils/attic-push.bash b/utils/attic-push.bash index fc452fc..1855eb2 100755 --- a/utils/attic-push.bash +++ b/utils/attic-push.bash @@ -1,8 +1,8 @@ #!/usr/bin/env nix #! nix shell nixpkgs#bash nixpkgs#jq nixpkgs#gnused nixpkgs#nixVersions.latest nixpkgs#attic-client --command bash -set -x -set -v +#set -x +#set -v set -e # retrieve all paths under 100M @@ -12,7 +12,7 @@ nix_paths=$(nix path-info --json --all --closure-size \ readarray -t nix_path_array < <(echo "$nix_paths") -batchsize=10 +batchsize=1000 for((i=0; i < ${#nix_path_array[@]}; i+=batchsize)) do