"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: warn when non-exportable Google documents are skipped - #9475
Nick Craig-Wood786e91d6a720
diff --git a/backend/drive/drive.go b/backend/drive/drive.goindex f3dad792d..5d844604e 100644--- a/backend/drive/drive.go+++ b/backend/drive/drive.go@@ -144,6 +144,7 @@ var (_importFormats map[string][]string // allowed import MIME type conversionstemplatesOnce sync.Once // parse link templates only once_linkTemplates map[string]*template.Template // available link types+ gdocsWarnOnce sync.Once // warn once about skipped non-exportable Google documents)// rwChoices type for fs.Bits@@ -1686,6 +1687,9 @@ func (f *Fs) newObjectWithExportInfo(// If item MimeType is in the ExportFormats then it is a google docif !isDocument {fs.Debugf(remote, "Ignoring unknown document type %q", info.MimeType)+ gdocsWarnOnce.Do(func() {+ fs.Logf(remote, "Skipping unexportable google documents. Use --drive-show-all-gdocs to include them in server side copy and move", info.MimeType)+ })return nil, fs.ErrorObjectNotFound}if extension == "" {