8 lines
189 B
Bash
Executable file
8 lines
189 B
Bash
Executable file
#!/bin/bash
|
|
provider="$1";
|
|
dirname="$2";
|
|
serviceName="rclone@$provider:$dirname";
|
|
|
|
echo "Please create a remote called \`$1\`";
|
|
rclone config;
|
|
systemctl --user enable "$serviceName" --now;
|