xlsx-dir-map/to_zip.sh

13 lines
181 B
Bash
Raw Permalink Normal View History

2024-08-04 15:36:54 +00:00
#!/bin/bash
set -euo pipefail
FILE="$1"
NAME="$2"
RANGE="$3"
GROUPING="$4"
poetry run python xlsx_dir_map -i "$FILE" -o "$NAME" -r "$RANGE" "$GROUPING"
zip -r "$NAME.zip" $NAME