4 lines
170 B
Bash
4 lines
170 B
Bash
ONEDRIVE="$HOME/OneDrive"
|
|
[ -d "$ONEDRIVE" ] || mkdir -p "$ONEDRIVE"
|
|
[ -z "$(ls -A "$ONEDRIVE")" ] && rclone --vfs-cache-mode writes mount --daemon OneDrive: "$ONEDRIVE"
|