forked from TrueCloudLab/rclone
drive: change the default for --drive-use-trash to true - fixes #1661
This commit is contained in:
parent
798502b204
commit
e0eabc75c0
2 changed files with 8 additions and 6 deletions
|
@ -169,9 +169,10 @@ was
|
||||||
|
|
||||||
### Deleting files ###
|
### Deleting files ###
|
||||||
|
|
||||||
By default rclone will delete files permanently when requested. If
|
By default rclone will send all files to the trash when deleting
|
||||||
sending them to the trash is required instead then use the
|
files. If deleting them permanently is required then use the
|
||||||
`--drive-use-trash` flag.
|
`--drive-use-trash=false` flag, or set the equivalent environment
|
||||||
|
variable.
|
||||||
|
|
||||||
### Emptying trash ###
|
### Emptying trash ###
|
||||||
|
|
||||||
|
@ -271,8 +272,9 @@ File size cutoff for switching to chunked upload. Default is 8 MB.
|
||||||
|
|
||||||
#### --drive-use-trash ####
|
#### --drive-use-trash ####
|
||||||
|
|
||||||
Send files to the trash instead of deleting permanently. Defaults to
|
Controls whether files are sent to the trash or deleted
|
||||||
off, namely deleting files permanently.
|
permanently. Defaults to true, namely sending files to the trash. Use
|
||||||
|
`--drive-use-trash=false` to delete files permanently instead.
|
||||||
|
|
||||||
### Limitations ###
|
### Limitations ###
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ const (
|
||||||
var (
|
var (
|
||||||
// Flags
|
// Flags
|
||||||
driveAuthOwnerOnly = fs.BoolP("drive-auth-owner-only", "", false, "Only consider files owned by the authenticated user.")
|
driveAuthOwnerOnly = fs.BoolP("drive-auth-owner-only", "", false, "Only consider files owned by the authenticated user.")
|
||||||
driveUseTrash = fs.BoolP("drive-use-trash", "", false, "Send files to the trash instead of deleting permanently.")
|
driveUseTrash = fs.BoolP("drive-use-trash", "", true, "Send files to the trash instead of deleting permanently.")
|
||||||
driveSkipGdocs = fs.BoolP("drive-skip-gdocs", "", false, "Skip google documents in all listings.")
|
driveSkipGdocs = fs.BoolP("drive-skip-gdocs", "", false, "Skip google documents in all listings.")
|
||||||
driveSharedWithMe = fs.BoolP("drive-shared-with-me", "", false, "Only show files that are shared with me")
|
driveSharedWithMe = fs.BoolP("drive-shared-with-me", "", false, "Only show files that are shared with me")
|
||||||
driveTrashedOnly = fs.BoolP("drive-trashed-only", "", false, "Only show files that are in the trash")
|
driveTrashedOnly = fs.BoolP("drive-trashed-only", "", false, "Only show files that are in the trash")
|
||||||
|
|
Loading…
Reference in a new issue