15 lines
268 B
Bash
Executable File
15 lines
268 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 "Running $i..."
|
|
./"$i" | mlr --c2t cat | column -t
|
|
wait $!
|
|
done
|