Remove --drive-use-trash=false from rclone param

Google drive trash retention policy changed making this
no longer a good default
a go
Issue #3095
This commit is contained in:
tofran 2020-11-13 22:58:48 +00:00
parent e8713bc209
commit 94a154c7ca
3 changed files with 13 additions and 5 deletions

View file

@ -10,14 +10,14 @@ import (
// Config contains all configuration necessary to start rclone.
type Config struct {
Program string `option:"program" help:"path to rclone (default: rclone)"`
Args string `option:"args" help:"arguments for running rclone (default: serve restic --stdio --b2-hard-delete --drive-use-trash=false)"`
Args string `option:"args" help:"arguments for running rclone (default: serve restic --stdio --b2-hard-delete)"`
Remote string
Connections uint `option:"connections" help:"set a limit for the number of concurrent connections (default: 5)"`
}
var defaultConfig = Config{
Program: "rclone",
Args: "serve restic --stdio --b2-hard-delete --drive-use-trash=false",
Args: "serve restic --stdio --b2-hard-delete",
Connections: 5,
}