"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
local: add --skip-specials to ignore special files
Adam Dinwoodie77553b8dd5d6
diff --git a/backend/local/local.go b/backend/local/local.goindex b4462d8ed..61669d01e 100644--- a/backend/local/local.go+++ b/backend/local/local.go@@ -115,6 +115,17 @@ points, as you explicitly acknowledge that they should be skipped.`,NoPrefix: true,Advanced: true,},+ {+ Name: "skip_specials",+ Help: `Don't warn about skipped pipes, sockets and device objects.++This flag disables warning messages on skipped pipes, sockets and+device objects, as you explicitly acknowledge that they should be+skipped.`,+ Default: false,+ NoPrefix: true,+ Advanced: true,+ },{Name: "zero_size_links",Help: `Assume the Stat size of links is zero (and read them instead) (deprecated).@@ -328,6 +339,7 @@ type Options struct {FollowSymlinks bool `config:"copy_links"`TranslateSymlinks bool `config:"links"`SkipSymlinks bool `config:"skip_links"`+ SkipSpecials bool `config:"skip_specials"`UTFNorm bool `config:"unicode_normalization"`NoCheckUpdated bool `config:"no_check_updated"`NoUNC bool `config:"nounc"`@@ -1246,7 +1258,9 @@ func (o *Object) Storable() bool {}return false} else if mode&(os.ModeNamedPipe|os.ModeSocket|os.ModeDevice) != 0 {- fs.Logf(o, "Can't transfer non file/directory")+ if !o.fs.opt.SkipSpecials {+ fs.Logf(o, "Can't transfer non file/directory")+ }return false} else if mode&os.ModeDir != 0 {// fs.Debugf(o, "Skipping directory")