Skip to content

Instantly share code, notes, and snippets.

View LYK-love's full-sized avatar
🏠
Working from home

Lu, Yukuan LYK-love

🏠
Working from home
View GitHub Profile
@LYK-love
LYK-love / upload_files.sh
Created August 18, 2025 12:33
Upload file(s) to Tsinghua Cloud
#!/usr/bin/env bash
set -euo pipefail
echo "---------------------------------------------------------"
echo " Seafile Upload Script (Tsinghua Cloud compatible)"
echo
echo " Reference: https://cloud.seafile.com/published/web-api/v2.1/file-upload.md"
echo
echo " Steps:"
echo " 1) Paste an Upload Link (must be in form https://cloud.tsinghua.edu.cn/u/d/<token>/)"