Stuck with commands after successfull config -- I'm new here, pls help

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Just downloaded rclone for Windows AMD64 and run config which went well.
Now I'm stuck with commands, With any command I get term is not recognized* as the name of a cmdlet, function, script file, or operable program, or "Error: unknown command "rclone" for "rclone"".

Run the command 'rclone version' and share the full output of the command.

Cannot run it. See explanation above.

Release v1.62.2 Intel/AMD - 64 Bit Windows10

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

Backblaze B2

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

rclone lsd remote:

The rclone config contents with secrets removed.

Storage> b2

Option account.
Account ID or Application Key ID.
Enter a value.
account> 

Option key.
Application Key.
Enter a value.
key> 

Option hard_delete.
Permanently delete files on remote removal, otherwise hide files.
Enter a boolean value (true or false). Press Enter for the default (false).
hard_delete>

Edit advanced config?
y) Yes
n) No (default)
y/n> n

Edit advanced config?
y) Yes
n) No (default)
y/n> n

Configuration complete.
Options:
- type: b2
- account: 
- key: 
Keep this "Backblaze B2" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y

Current remotes:

Name                 Type
====                 ====
Backblaze B2         b2

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q
PS C:\rclone-v1.62.2-windows-amd64>

A log from the command with the -vv flag

PS C:\Users\ricca> C:\rclone-v1.62.2-windows-amd64\rclone.exe rclone version
Error: unknown command "rclone" for "rclone"
Run 'rclone --help' for usage.
You could use 'rclone selfupdate' to get latest features.

2023/04/19 13:59:12 Fatal error: unknown command "rclone" for "rclone"
PS C:\Users\ricca>

hello and welcome to the forum,

try C:\rclone-v1.62.2-windows-amd64\rclone.exe version

1 Like

Ok, your command above works for me, but when I'm trying
C:\rclone-v1.62.2-windows-amd64\rclone.exe lsd remote:
I Get "Failed to create file system for "remote:": didn't find section in config file". What does it mean?

PS C:\Users\ricca> C:\rclone-v1.62.2-windows-amd64\rclone.exe version
rclone v1.62.2
- os/version: Microsoft Windows 10 Home 21H2 (64 bit)
- os/kernel: 10.0.19044.2846 Build 19044.2846.2846 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: cmount
PS C:\Users\ricca> cd C:\rclone-v1.62.2-windows-amd64
PS C:\rclone-v1.62.2-windows-amd64> C:\rclone-v1.62.2-windows-amd64\rclone.exe lsd remote:
2023/04/19 14:45:54 Failed to create file system for "remote:": didn't find section in config file
PS C:\rclone-v1.62.2-windows-amd64>

that means you did not create a remote named remote, so rclone cannot find it.

you need to create a remote using rclone config, and then try rclone lsd

1 Like

Ok, so I guess my previous attempt to create a remote was unsuccessfull. I will try again. Thanks for now, without the command written like that I was stucked.

try rclone listremotes

1 Like

So the remote is there?

PS C:\rclone-v1.62.2-windows-amd64> C:\rclone-v1.62.2-windows-amd64\rclone.exe listremotes
Backblaze B2:
PS C:\rclone-v1.62.2-windows-amd64>

rclone lsd "Backblaze B2:"

1 Like

and I get:

PS C:\rclone-v1.62.2-windows-amd64> C:\rclone-v1.62.2-windows-amd64\rclone.exe lsd "Backblaze B2:"
          -1 2023-04-19 15:03:29        -1 rawriddims-img
PS C:\rclone-v1.62.2-windows-amd64>

which is my B2 bucket. Seems to work then. What was the previous error then?

you tried to use rclone lsd remote: and there was no remote named remote.

the remote you created is named Backblaze B2

1 Like

Ok. Now I understand. Thanks so much for your help, I was really stucked.

good we got it worked out

1 Like

Sorry, one more thing. I'm trying to upload a local folder with its content to a sub-folder in my B2 bucket, like this:

PS C:\rclone-v1.62.2-windows-amd64> C:\rclone-v1.62.2-windows-amd64\rclone.exe copy C:\Users\ricca\OneDrive\Documenti\Websites\rawriddims.github.io\assets\images\sights\articles\new-article-title b2:rawriddims-img/assets/images/sights/articles
2023/04/19 15:27:38 Failed to create file system for "b2:rawriddims-img/assets/images/sights/articles": didn't find section in config file
PS C:\rclone-v1.62.2-windows-amd64>

What am I doing wrong?

same problem as before, need to use the correct remote name

Ops... So now with correct remote name:

PS C:\rclone-v1.62.2-windows-amd64> C:\rclone-v1.62.2-windows-amd64\rclone.exe copy C:\Users\ricca\OneDrive\Documenti\Websites\rawriddims.github.io\assets\images\sights\articles\new-article-title Backblaze B2:rawriddims-img/assets/images/sights/articles
Usage:
  rclone copy source:path dest:path [flags]

Flags:
      --create-empty-src-dirs   Create empty source dirs on destination after copy
  -h, --help                    help for copy

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
Command copy needs 2 arguments maximum: you provided 3 non flag arguments: ["C:\\Users\\ricca\\OneDrive\\Documenti\\Websites\\rawriddims.github.io\\assets\\images\\sights\\articles\\new-article-title" "Backblaze" "B2:rawriddims-img/assets/images/sights/articles"]
PS C:\rclone-v1.62.2-windows-amd64>

"Command copy needs 2 arguments maximum: you provided 3 non flag arguments": it says.
so I'm running C:\rclone-v1.62.2-windows-amd64\rclone.exe help flags and I see a very long list of "flags". Does this mean that my command is incomplete?

and as per rclone docs and my example from up above
If your names have spaces in you need to put them in "

With "Backblaze B2":
C:\rclone-v1.62.2-windows-amd64\rclone.exe copy C:\Users\ricca\OneDrive\Documenti\Websites\rawriddims.github.io\assets\images\sights\articles\new-article-title "Backblaze B2":rawriddims-img/assets/images/sights/articles
I get the same error: Command copy needs 2 arguments maximum: you provided 3 non flag arguments

try "Backblaze B2:rawriddims-img/assets/images/sights/articles"

if not then

going forward, run all commands with debug output and post the full output.
add vv and post the full output.

PS C:\Users\ricca> C:\rclone-v1.62.2-windows-amd64\rclone.exe copy C:\Users\ricca\OneDrive\Documenti\Websites\rawriddims.github.io\assets\images\sights\articles\new-article-title "Backblaze B2:rawriddims-img/assets/images/sights/articles"
2023/04/19 16:09:25 ERROR : : Entry doesn't belong in directory "" (same as directory) - ignoring
PS C:\Users\ricca>

and witth vv (like this?):

PS C:\Users\ricca> C:\rclone-v1.62.2-windows-amd64\rclone.exe copy C:\Users\ricca\OneDrive\Documenti\Websites\rawriddims.github.io\assets\images\sights\articles\new-article-title "Backblaze B2":rawriddims-img/assets/images/sights/articles vv
Usage:
  rclone copy source:path dest:path [flags]

Flags:
      --create-empty-src-dirs   Create empty source dirs on destination after copy
  -h, --help                    help for copy

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
Command copy needs 2 arguments maximum: you provided 4 non flag arguments: ["C:\\Users\\ricca\\OneDrive\\Documenti\\Websites\\rawriddims.github.io\\assets\\images\\sights\\articles\\new-article-title" "Backblaze B2" ":rawriddims-img/assets/images/sights/articles" "vv"]
PS C:\Users\ricca>

sorry, my bad, need to use -vv, not vv