Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

cmd: add os and go version to rclone version output

Nick Craig-Wood7d34caac8390
diff --git a/cmd/cmd.go b/cmd/cmd.go
index 3252b7169..960b2408b 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -99,6 +99,8 @@ func init() {
// ShowVersion prints the version to stdout
func ShowVersion() {
fmt.Printf("rclone %s\n", fs.Version)
+ fmt.Printf("- os/arch: %s/%s\n", runtime.GOOS, runtime.GOARCH)
+ fmt.Printf("- go version: %s\n", runtime.Version())
}
// newFsFile creates a dst Fs from a name but may point to a file.