Files
eveAI/scripts/repopack_eveai.sh
Josako 9782e31ae5 - Refined entitlements to work with MiB for both embeddings and storage
- Improved DocumentVersion storage attributes to reflect Minio settings
- Added size to DocumentVersions to easily calculate usage
- License / LicenseTier forms and views added
2024-10-07 14:17:44 +02:00

18 lines
485 B
Bash
Executable File

#!/bin/bash
# Run repopack to generate the file
repopack
# Check if repopack generated the eveai_repo.txt file
if [[ -f "eveai_repo.txt" ]]; then
# Get the current timestamp in the format YYYY-DD-MM_HH:MM:SS
timestamp=$(date +"%Y-%d-%m_%H-%M-%S")
# Rename the file with the timestamp
mv eveai_repo.txt "${timestamp}_eveai_repo.txt"
echo "File renamed to ${timestamp}_eveai_repo.txt"
else
echo "Error: eveai_repo.txt not found. repopack may have failed."
fi