Files
aws-inventory/run-inventory-scripts.sh
T
2026-01-23 10:23:45 +08:00

15 lines
259 B
Bash
Executable File

#!/bin/bash
# Remove previous inventory and cache file
rm -f aws-inventory.xlsx cache.pkl
# Create a new workbook
./init_workbook.py
# Execute individual inventory scripts
for i in aws*.py; do
echo "# $i"
./"$i" | mlr --c2t cat | column -t
wait $!
done