Delete download.sh
Browse files- download.sh +0 -28
download.sh
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
#!/bin/bash
|
2 |
-
|
3 |
-
# Set the S3 bucket and prefix
|
4 |
-
S3_BUCKET="caemldatasets"
|
5 |
-
S3_PREFIX="ahmed/dataset"
|
6 |
-
#
|
7 |
-
# # Set the local directory to download the files
|
8 |
-
# LOCAL_DIR="./drivaer_data"
|
9 |
-
#
|
10 |
-
# # Create the local directory if it doesn't exist
|
11 |
-
# mkdir -p "$LOCAL_DIR"
|
12 |
-
#
|
13 |
-
# # Loop through the run folders from 1 to 500 (here you can change the number to only download a subset of the runs)
|
14 |
-
for i in $(seq 278 500); do
|
15 |
-
RUN_DIR="run_$i"
|
16 |
-
RUN_LOCAL_DIR="$RUN_DIR"
|
17 |
-
#
|
18 |
-
# # Create the run directory if it doesn't exist
|
19 |
-
# mkdir -p "$RUN_LOCAL_DIR"
|
20 |
-
#
|
21 |
-
# # Download the drivaer_i.stl file
|
22 |
-
aws s3 cp --recursive --no-sign-request "s3://$S3_BUCKET/$S3_PREFIX/$RUN_DIR" "$RUN_LOCAL_DIR/" --only-show-errors
|
23 |
-
#
|
24 |
-
# # Download the force_mom_i.csv file
|
25 |
-
# aws s3 cp "s3://$S3_BUCKET/$S3_PREFIX/$RUN_DIR/force_mom_$i.csv" "$RUN_LOCAL_DIR/" --only-show-errors
|
26 |
-
#
|
27 |
-
# aws s3 cp --recursive "s3://$S3_BUCKET/$S3_PREFIX/$RUN_DIR/images" "$RUN_LOCAL_DIR/images/" --only-show-errors
|
28 |
-
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|