Abnormal rclone commands behaviour on Windows

What is the problem you are having with rclone?

Not finding the remote name in config file

What is your rclone version (output from rclone version)

rclone v1.52.2

  • os/arch: windows/amd64
  • go version: go1.14.

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 64 bit

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

./rclone mount GD1: Z:

The rclone config contents with secrets removed.

type = drive
client_id = ***REDACTED***.apps.googleusercontent.com
client_secret = ***REDACTED***
scope = drive
root_folder_id = ***REDACTED***
use_trash = false
chunk_size = 32M
acknowledge_abuse = true
server_side_across_configs = true
token = {"access_token":"","token_type":"Bearer","refresh_token":"","expiry":"2020-08-04T08:24:37.8537988+01:00"}

The above mentioned command works fine when manually typed in a powershell window, however if the same command is put in a powershell script and ran, it gives an error stating that the "GD1:" entry doesn't exist in the config file.

on windows, that should be
.\rclone mount GD1: Z:

can you post the actual error text, not just a summary of it.

./rclone and .\rclone work both the same on Windows 10, there is no difference between them.

The error message is

> C:\bin\rclone.exe mount GD1: Z:
2020/08/04 14:10:44 Failed to create file system for "GD1:": didn't find section in config file

sorry, still on the first coffee...

can you post that command with debug output or non-mount command such as about or lsd?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.