"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
cmd: refactor to use fspath.SplitFs instead of fs.ParseRemote #4996
Nick Craig-Wood28f6efe95551
diff --git a/cmd/cmd.go b/cmd/cmd.goindex 3192086d6..fee58d61b 100644--- a/cmd/cmd.go+++ b/cmd/cmd.go@@ -84,7 +84,7 @@ func ShowVersion() {// It returns a string with the file name if points to a file// otherwise "".func NewFsFile(remote string) (fs.Fs, string) {- _, _, fsPath, err := fs.ParseRemote(remote)+ _, fsPath, err := fspath.SplitFs(remote)if err != nil {err = fs.CountError(err)log.Fatalf("Failed to create file system for %q: %v", remote, err)