- Improved DocumentVersion storage attributes to reflect Minio settings - Added size to DocumentVersions to easily calculate usage - License / LicenseTier forms and views added
18 lines
485 B
Bash
Executable File
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
|