diff --git a/modules/data-hoarder/postgres.nix b/modules/data-hoarder/postgres.nix index 0dab1f6..3c0012e 100644 --- a/modules/data-hoarder/postgres.nix +++ b/modules/data-hoarder/postgres.nix @@ -68,6 +68,9 @@ mkdir -p $OUT_FOLDER chmod a+xr $OUT_FOLDER + + echo "Copying $TMPFILE to $OUT_FOLDER/$CSV_FILENAME" + cat $TMPFILE | wc -l cp $TMPFILE $OUT_FOLDER/$CSV_FILENAME chmod a+r $OUT_FOLDER/$CSV_FILENAME