Skip to content

Commit ad2a9dd

Browse files
committed
S3 access
1 parent 32a9e22 commit ad2a9dd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

sspcloud/download_data.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ DEST_DIR="$HOME/work/data"
1010
# Ensure destination folder exists
1111
mkdir -p "$DEST_DIR"
1212

13+
# === S3 settings ===
14+
15+
# Configure alias for the public S3 endpoint (anonymous access)
16+
mc alias set s3 https://minio.lab.sspcloud.fr "" ""
17+
1318
# === Download all data files ===
1419
# You can modify the list of files
1520
FILES=(
16-
"https://minio.lab.sspcloud.fr/oliviermeslin/AIML4OS/ETAT_CIVIL/2020/DECES_COM_1019.csv"
17-
"https://minio.lab.sspcloud.fr/oliviermeslin/AIML4OS/ETAT_CIVIL/2020/NAISSANCES_COM_1019.csv"
21+
"s3/oliviermeslin/AIML4OS/ETAT_CIVIL/2020/DECES_COM_1019.csv"
22+
"s3/oliviermeslin/AIML4OS/ETAT_CIVIL/2020/NAISSANCES_COM_1019.csv"
1823
)
1924

2025
# Function to download with retry

0 commit comments

Comments
 (0)