Rclone Mounting Google Driving upload goes into my C: drive (SSD)

What is the problem you are having with rclone?

When I use the mount command the google drive automatically downloads to
C:\Users\ediso\AppData\Local\rclone\vfs\GoogleDrive
Whenever I upload it also goes to. Not the cloud
C:\Users\ediso\AppData\Local\rclone\vfs\GoogleDrive

What is your rclone version (output from rclone version)

rclone v1.53.3

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

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

Windows 10 64x

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

GSuite Unlimited Storage

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

Paste command here
``


`
         clone mount --vfs-cache-mode full GoogleDrive:/ U:




#### The rclone config contents with secrets removed.  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

Paste config here

   


  D:\Tools For Games\Mount Google Drives\Rclone>rclone -log-file=FILE
Error: unknown shorthand flag: 'o' in -og-file=FILE
Usage:
  rclone [flags]
  rclone [command]

Available Commands:
  about           Get quota information from the remote.
  authorize       Remote authorization.
  backend         Run a backend specific command.
  cat             Concatenates any files and sends them to stdout.
  check           Checks the files in the source and destination match.
  cleanup         Clean up the remote if possible.
  config          Enter an interactive configuration session.
  copy            Copy files from source to dest, skipping already copied.
  copyto          Copy files from source to dest, skipping already copied.
  copyurl         Copy url content to dest.
  cryptcheck      Cryptcheck checks the integrity of a crypted remote.
  cryptdecode     Cryptdecode returns unencrypted file names.
  dedupe          Interactively find duplicate filenames and delete/rename them.
  delete          Remove the contents of path.
  deletefile      Remove a single file from remote.
  genautocomplete Output completion script for a given shell.
  gendocs         Output markdown docs for rclone to the directory supplied.
  hashsum         Produces a hashsum file for all the objects in the path.
  help            Show help for rclone commands, flags and backends.
  link            Generate public link to file/folder.
  listremotes     List all the remotes in the config file.
  ls              List the objects in the path with size and path.
  lsd             List all directories/containers/buckets in the path.
  lsf             List directories and objects in remote:path formatted for parsing.
  lsjson          List directories and objects in the path in JSON format.
  lsl             List the objects in path with modification time, size and path.
  md5sum          Produces an md5sum file for all the objects in the path.
  mkdir           Make the path if it doesn't already exist.
  mount           Mount the remote as file system on a mountpoint.
  move            Move files from source to dest.
  moveto          Move file or directory from source to dest.
  ncdu            Explore a remote with a text based user interface.
  obscure         Obscure password for use in the rclone config file.
  purge           Remove the path and all of its contents.
  rc              Run a command against a running rclone.
  rcat            Copies standard input to file on remote.
  rcd             Run rclone listening to remote control commands only.
  rmdir           Remove the path if empty.
  rmdirs          Remove empty directories under the path.
  serve           Serve a remote over a protocol.
  settier         Changes storage class/tier of objects in remote.
  sha1sum         Produces an sha1sum file for all the objects in the path.
  size            Prints the total size and number of objects in remote:path.
  sync            Make source and dest identical, modifying destination only.
  touch           Create new file or change file modification time.
  tree            List the contents of the remote in a tree like fashion.
  version         Show the version number.

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.

2020/12/19 10:36:23 Fatal error: unknown shorthand flag: 'o' in -og-file=FILE 





#### A log from the command with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

Paste log here



D:\Tools For Games\Mount Google Drives\Rclone>rclone -vv
2020/12/19 10:37:38 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "-vv"]
Usage:
  rclone [flags]
  rclone [command]

Available Commands:
  about           Get quota information from the remote.
  authorize       Remote authorization.
  backend         Run a backend specific command.
  cat             Concatenates any files and sends them to stdout.
  check           Checks the files in the source and destination match.
  cleanup         Clean up the remote if possible.
  config          Enter an interactive configuration session.
  copy            Copy files from source to dest, skipping already copied.
  copyto          Copy files from source to dest, skipping already copied.
  copyurl         Copy url content to dest.
  cryptcheck      Cryptcheck checks the integrity of a crypted remote.
  cryptdecode     Cryptdecode returns unencrypted file names.
  dedupe          Interactively find duplicate filenames and delete/rename them.
  delete          Remove the contents of path.
  deletefile      Remove a single file from remote.
  genautocomplete Output completion script for a given shell.
  gendocs         Output markdown docs for rclone to the directory supplied.
  hashsum         Produces a hashsum file for all the objects in the path.
  help            Show help for rclone commands, flags and backends.
  link            Generate public link to file/folder.
  listremotes     List all the remotes in the config file.
  ls              List the objects in the path with size and path.
  lsd             List all directories/containers/buckets in the path.
  lsf             List directories and objects in remote:path formatted for parsing.
  lsjson          List directories and objects in the path in JSON format.
  lsl             List the objects in path with modification time, size and path.
  md5sum          Produces an md5sum file for all the objects in the path.
  mkdir           Make the path if it doesn't already exist.
  mount           Mount the remote as file system on a mountpoint.
  move            Move files from source to dest.
  moveto          Move file or directory from source to dest.
  ncdu            Explore a remote with a text based user interface.
  obscure         Obscure password for use in the rclone config file.
  purge           Remove the path and all of its contents.
  rc              Run a command against a running rclone.
  rcat            Copies standard input to file on remote.
  rcd             Run rclone listening to remote control commands only.
  rmdir           Remove the path if empty.
  rmdirs          Remove empty directories under the path.
  serve           Serve a remote over a protocol.
  settier         Changes storage class/tier of objects in remote.
  sha1sum         Produces an sha1sum file for all the objects in the path.
  size            Prints the total size and number of objects in remote:path.
  sync            Make source and dest identical, modifying destination only.
  touch           Create new file or change file modification time.
  tree            List the contents of the remote in a tree like fashion.
  version         Show the version number.

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.

That's the default as you picked vfs-cache-mode full.

If you want them to go somewhere else, specify a location in the --cache-dir flag

Hi, thank you for your help I am very new to rclone and cmd. Can you explain what this command does "vfs-cache-mode full" is it storing the cache only?

I don't what to store data on my local machine and sync that data over to google drive, but use google drive as a "storage dump" like a NAS drive. How do I do so?

If you click on the link, it has all that information there.

If i type rclone --cache-dir

I get

2020/12/19 20:33:35 Fatal error: flag needs an argument: --cache-dir

what should i do. I want to change the directory to my D drive

It needs a directory so you'd specify a location/folder that you want to use for it as described in the link I shared:

--cache-dir string                   Directory rclone will use for caching.

why does it say unknown command?

D:\Tools For Games\Mount Google Drives\Rclone>rclone --cache-dir string D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder
Error: unknown command "D:\Tools" for "rclone"

I read the link but still dont undestand what I need to do to get it to work

Remove the word string as string is a place holder for typing something in.

So

--cache-dir "D:\Tools"

If that's where you want to put the cache files.

leave the quotes symbol in? Do i need to type rclone first before --cache-dir "D:\Tools"

I'm not a Windows guy, but I thought you tend to quote things. Try it and see what happens.

both with and without quotes rclone says unknown command

D:\Tools For Games\Mount Google Drives\Rclone>rclone --cache-dir D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder
Error: unknown command "For" for "rclone"
Run 'rclone --help' for usage.
2020/12/20 09:21:58 Fatal error: unknown command "For" for "rclone"

D:\Tools For Games\Mount Google Drives\Rclone>rclone -cache-dir "D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder"
Error: unknown command "D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder" for "rclone"
Run 'rclone --help' for usage.
2020/12/20 09:22:22 Fatal error: unknown command "D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder" for "rclone"

It's not a stand alone command.

It goes with the rclone mount command.

so everytime I mount I need to put that command in? or only once to set it as default

Any flags would be defined on the command being entered so every time.

I would imagine on Windows folks make a batch file or something along those lines.

where do I put in the --cache-dir before or after mount command? I get this

D:\Tools For Games\Mount Google Drives\Rclone>rclone mount --vfs-cache-mode full GoogleDrive:/ U: --cache-dir D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder
Usage:
rclone mount remote:path /path/to/mountpoint [flags]

Flags:
--allow-non-empty Allow mounting over a non-empty directory (not Windows).
--allow-other Allow access to other users.
--allow-root Allow access to root user.
--async-read Use asynchronous reads. (default true)
--attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
--daemon Run mount as a daemon (background mode).
--daemon-timeout duration Time limit for rclone to respond to kernel (not supported by all OSes).
--debug-fuse Debug the FUSE internals - needs -v.
--default-permissions Makes kernel enforce access control based on the file mode.
--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
--fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
-h, --help help for mount
--max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. (default 128k)
--no-checksum Don't compare checksums on up/download.
--no-modtime Don't read/write the modification time (can speed things up).
--no-seek Don't allow seeking in files.
-o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
--read-only Mount read-only.
--vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
--vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
--vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
--vfs-case-insensitive If a file name not found, find a case insensitive match. (default true)
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
--vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
--vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
--vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
--vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
--vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
--volname string Set the volume name (not supported by all OSes).
--write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used.

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 mount needs 2 arguments maximum: you provided 7 non flag arguments: ["GoogleDrive:/" "U:" "For" "Games\Mount" "Google" "Drives\Rclone\Cache" "Folder"]

Take a few minutes.

Read through the install items on Windows:

It explains all those items and give you some examples.

is it the fact that it's currently mounted as a local drive and not a network drive causing the problem?

hi,

if a path has a space character in it, you must quote it, as with any command line app.
https://rclone.org/docs/#windows

rclone mount GoogleDrive: U: --cache-dir "D:\Tools For Games\Mount Google Drives\Rclone\Cache Folder" --vfs-cache-mode full 

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