kapitainsky / RcloneBrowser

Simple cross platform GUI for rclone. Supports macOS, GNU/Linux, BSD family and Windows.
https://github.com/kapitainsky/RcloneBrowser
MIT License
2.24k stars 215 forks source link

Command copied to clipboard not working #226

Open Bazzu85 opened 12 months ago

Bazzu85 commented 12 months ago

Hi,

I copied the command I'm using in rclonebrowser to clipboard and tried to use it in cmd (windows 11) here's: N:\rclone\rclone.exe --config N:/rclone/rclone.conf move --verbose --transfers 4 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s --stats-file-name-length 0 --fast-list r:\Downloads\Jdownloader\Redump - Sega - Dreamcast\ MediaDB:00 - Online Media/Giochi/Rom & Bios Sets/Sega Dreamcast/ the result is an error:

Usage:
  rclone move source:path dest:path [flags]

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

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 move needs 2 arguments maximum: you provided 9 non flag arguments: ["r:\\Downloads\\Jdownloader\\Redump" "-" "Sega" "-" "Dreamcast\\" "MediaDB:00" "-" "Online" "Media/Giochi/Rom"]
'Bios' is not recognized as an internal or external command,
operable program or batch file.

to make the command work I had to do 2 fix:

  1. put source and dest between double quotes
  2. remove the last char from source and dest

This command works in cmd: N:\rclone\rclone.exe --config N:/rclone/rclone.conf move --verbose --transfers 4 --checkers 8 --contimeout 60s --timeout 300s --retries 3 --low-level-retries 10 --stats 1s --stats-file-name-length 0 --fast-list "r:\Downloads\Jdownloader\Redump - Sega - Dreamcast" "MediaDB:00 - Online Media/Giochi/Rom & Bios Sets/Sega Dreamcast"

I think that the function need to be improved!