"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
drive: fix subdirectory listing to not list entire drive - fixes #23
Nick Craig-Wood1758621a51dd
diff --git a/drive/drive.go b/drive/drive.goindex 83a8a5da9..0aca61645 100644--- a/drive/drive.go+++ b/drive/drive.go@@ -559,7 +559,7 @@ func (f *FsDrive) List() fs.ObjectsChan {fs.Stats.Error()log.Printf("Couldn't find root: %s", err)} else {- if *driveFullList {+ if f.root == "" && *driveFullList {err = f.listDirFull(f.rootId, "", out)} else {err = f.listDirRecursive(f.rootId, "", out)