1
mirror of https://github.com/rclone/rclone synced 2024-11-29 07:55:12 +01:00

drive: make --drive-shared-with-me work with shared drives

Fixes #6247
This commit is contained in:
Nick Craig-Wood 2022-06-14 09:44:37 +01:00
parent 2e91287b2e
commit e87e331f4c

View File

@ -886,7 +886,7 @@ func (f *Fs) list(ctx context.Context, dirIDs []string, title string, directorie
}
list.SupportsAllDrives(true)
list.IncludeItemsFromAllDrives(true)
if f.isTeamDrive {
if f.isTeamDrive && !f.opt.SharedWithMe {
list.DriveId(f.opt.TeamDriveID)
list.Corpora("drive")
}