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

Log the rclone version at the end of the run - fixes #847

Nick Craig-Wood31745320c865
diff --git a/cmd/cmd.go b/cmd/cmd.go
index b9a407114..6b6d52a49 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -70,6 +70,7 @@ and configuration walkthroughs.
* http://rclone.org/
`,
PersistentPostRun: func(cmd *cobra.Command, args []string) {
+ fs.Debugf("rclone", "Version %q finishing with parameters %q", fs.Version, os.Args)
runAtExitFunctions()
},
}