mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
11 lines
215 B
Bash
Executable File
11 lines
215 B
Bash
Executable File
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" |