Last active
February 26, 2024 18:34
-
-
Save IzStriker/5d88c539622ecd908c4e4c7d7a213d50 to your computer and use it in GitHub Desktop.
Onedrive on linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Mount onedrive on setup | |
[Service] | |
ExecStart=/home/izstriker/rclone-setup.sh | |
[Install] | |
WantedBy=default.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rclone copy ~/Pictures/Screenshots/ OneDrive:Pictures/Screenshots --verbose | |
rclone --vfs-cache-mode writes mount OneDrive: /home/izstriker/OneDrive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment