I'm using rclone sync with :sftp: backend in CLI instead of stored config.
rclone v1.68.2
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.4751 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.3
- go/linking: static
- go/tags: cmount
I sync a remote dir using SFTP and a back-end specified in the CLI rather than in the config. It works fine except for a small annoyance that bloats my log file and confuses the devops: Those NOTICE messages (see log below). I want the -v to list the modified files. Can I avoid them ?
2025/01/20 14:59:22 NOTICE: Can't save config "shell_type" for on the fly backend ":sftp"
2025/01/20 14:59:22 NOTICE: Can't save config "md5sum_command" for on the fly backend ":sftp"
2025/01/20 14:59:22 NOTICE: Can't save config "sha1sum_command" for on the fly backend ":sftp"
2025/01/20 14:59:24 INFO : There was nothing to transfer
2025/01/20 14:59:24 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 268 / 268, 100%
Elapsed time: 1.8s
Thanks! It does indeed get rid of the msg regarding shell_type.
The other 2 remain unfortunately. I see that there are --sftp-md5sum-command and --sftp-sha1sum-command but I have no idea what value to give them. Also, I'd rather let rclone take care of that. If the price to pay is to have those notice messages, so be it...