Skip to content

Instantly share code, notes, and snippets.

@sarkrui
Created March 1, 2020 11:34
Show Gist options
  • Save sarkrui/3cc8190a931fec94748ec2a9946c65f1 to your computer and use it in GitHub Desktop.
Save sarkrui/3cc8190a931fec94748ec2a9946c65f1 to your computer and use it in GitHub Desktop.
Auto mount Rclone on macOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>rclone</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/rclone</string>
<string>mount</string>
<string>rclone:</string>
<string>/Volumes/Rclone/</string>
<string>--config=/Users/p.xing/.config/rclone/rclone.conf</string>
<string>--no-gzip-encoding</string>
<string>--no-check-certificate</string>
<string>--allow-other</string>
<string>--allow-non-empty</string>
<string>--umask</string>
<string>000</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/Users/p.xing/Documents/logs/rclone-media.log</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment