Skip to content

Commit b7d3540

Browse files
authored
update name of S3 endpoint to avoid using already used env var
1 parent a743a4c commit b7d3540

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sspcloud/download_data.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ mkdir -p "$DEST_DIR"
1313
# === S3 settings ===
1414

1515
# Configure alias for the public S3 endpoint (anonymous access)
16-
mc alias set s3 https://minio.lab.sspcloud.fr "" ""
16+
mc alias set s3sspcloud https://minio.lab.sspcloud.fr "" ""
1717

1818
# === Download all data files ===
1919
# You can modify the list of files
2020
FILES=(
21-
"s3/oliviermeslin/AIML4OS/ETAT_CIVIL/2020/DECES_COM_1019.csv"
22-
"s3/oliviermeslin/AIML4OS/ETAT_CIVIL/2020/NAISSANCES_COM_1019.csv"
21+
"s3sspcloud/oliviermeslin/AIML4OS/ETAT_CIVIL/2020/DECES_COM_1019.csv"
22+
"s3sspcloud/oliviermeslin/AIML4OS/ETAT_CIVIL/2020/NAISSANCES_COM_1019.csv"
2323
)
2424

2525
# Function to download with retry
@@ -48,4 +48,4 @@ download_file() {
4848
for FILE in "${FILES[@]}"; do
4949
echo "Downloading $FILE to $DEST_DIR..."
5050
download_file "$FILE" "$DEST_DIR"
51-
done
51+
done

0 commit comments

Comments
 (0)