"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
size: include human-readable count
albertonyd24f87c6a9a6
diff --git a/cmd/size/size.go b/cmd/size/size.goindex 881d4cace..c68038519 100644--- a/cmd/size/size.go+++ b/cmd/size/size.go@@ -42,10 +42,8 @@ var commandDefinition = &cobra.Command{if jsonOutput {return json.NewEncoder(os.Stdout).Encode(results)}-- fmt.Printf("Total objects: %d\n", results.Count)- fmt.Printf("Total size: %s (%d bytes)\n", fs.SizeSuffix(results.Bytes).ByteUnit(), results.Bytes)-+ fmt.Printf("Total objects: %s (%d)\n", fs.CountSuffix(results.Count), results.Count)+ fmt.Printf("Total size: %s (%d Byte)\n", fs.SizeSuffix(results.Bytes).ByteUnit(), results.Bytes)return nil})},