mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 10:32:27 +08:00
11 lines
215 B
Bash
11 lines
215 B
Bash
![]() |
if [ ! -f .env ]; then
|
||
|
echo "Missing .env file, cannot proceed."
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
output_dir="output"
|
||
|
rm -rf "$output_dir"
|
||
|
mkdir -p "$output_dir"
|
||
|
|
||
|
source ./.env
|
||
|
wget -rp -e robots=off "$SHARE_URL" -P "$output_dir"
|