File size: 665 Bytes
9913e75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

# Get the directory of the current script
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
BASE_DIR="$(dirname "$SCRIPT_DIR")"
RAW_DIR="$BASE_DIR/raw"

# Create the raw directory
mkdir -p "$RAW_DIR"

# Define URLs of the files to be downloaded
urls=(
    "https://github.com/YuweiCao-UIC/KPGNN/raw/main/datasets/Twitter/68841_tweets_multiclasses_filtered_0722_part1.npy"
    "https://github.com/YuweiCao-UIC/KPGNN/raw/main/datasets/Twitter/68841_tweets_multiclasses_filtered_0722_part2.npy"
)

# Download each file to the raw directory
for url in "${urls[@]}"; do
    wget -P "$RAW_DIR" "$url"
done

echo "Download complete."