How can I store my crypt remote data encrypted on my local drive?

Hi all. So I’ve been using Rclone for a few days now and I slowly get into using it. It’s fun to use and it’s really nice for people who use Linux because lots of cloud storage providers doesn’t offer a native client.

The question I have is the following: I stored all my sensitive data in a crypt. Now I would like to know if there’s an option to also store it encrypted on my local drive. If I sync the crypt to a folder the contents will be not encrypted and everyone who have access to my pc would see the content. I also do not want to mount because it’s way slower.

What is the problem you are having with rclone?

So basically my goal is the following: I got an encrypted Gdrive which has my files stored. I'd like to know if I can also store those files in an encrypted form on my local drive so nobody with physical access can see the files. If that's possible, what's the best way of storing the crypt files of Gdrive on my local drive too?

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

rclone v1.59.0

  • os/version: debian bookworm/sid (64 bit)
  • os/kernel: 5.17.15-76051715-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.18.3
  • go/linking: static
  • go/tags: none

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


hello and welcome to the forum,

download the crypted files to local.

As I said when I download the files to my local drive they will be stored unencrypted which makes storing files less secure because everyone with physical access can see the files. Can I encrypt them too and if so: what’s the best way of doing so?

no need to decrypt and re-crypt the files,
download the files in their crypted state, from the wrapped remote.

when you posted there was a template of questions to be answered.
help us to help you and provide the answers.

1 Like

I did edit my question =).

How do I access those remote files after I've downloaded them?

please post the config file, redact secret/id/passwords

1 Like
type = drive
client_id = xxx
client_secret = xxx
scope = drive
token = xxx
team_drive =

type = crypt
remote = gdrive:NAME
password = xxx
password2 = xxx

That's the config. I usually copy new stuff with

rclone copy -P localimage crypt:folder 

and remove the data afterwards because it's not encrypted locally. I could use

rclone copy -P crypt:folder localfolder

but the problem is that this way all downloaded crypt data are unencrypted. I wanna store the data locally encrypted as well because mounting is much faster this way. I unfortunately don't know what the best solution / workaround for this kind of problem is.

--- download the files in their crypted state
rclone copy -P gdrive:NAME /path/to/local/dir

--- create a new remote

type = crypt
remote = /path/to/local/dir
password = xxx
password2 = xxx

--- mount the local crypt remote
rclone mount lcrypt: .....

1 Like

Do I need to set the same password as my current crypt? What happens if I chose to create new passwords for lcrypt?

Another question as I read your answer: Could I also download with crypt instead of gdrive and put the files in the lcrypt remote? Does it matter if I download the encrypted or unencrypted data? Is downloading the encrypted data over gdrive faster?

in the example i shared, need to use same crypt passwords.

yes, but rclone, during download, will decrypt the files and re-crypt them when copied into lcrypt:
so, in the case, can use different passwords for each crypt

1 Like

I'd probably take a step back.

Describe your workflow that you want to happen and we can probably translate that into rclone.


  1. Copy encrypted file to local location
  2. File on disk is encrypted
  3. Run command to see the file and/or run a command to decrypt the file somewhere else

What are you expecting/want to happen? What's your flow?

What are you expecting/want to happen?

I want to store my encrypted data also on my local drive but in an encrypted format so nobody can access it (physically on the PC) plus mounting files locally is much faster than mounting my crypt drive remotely.

In the past I've put my files in the remote crypt and deleted them locally afterwards.

rclone copy -P /home/name/file.jpg  crypt:folder I want the pictures, for example, in.

I got lots of files so mounting my crypt online is way too slow. I was thinking about a way to download files, for example:*

rclone copy -P crypt:folder of the image  /home/name/folder to place the downloaded image.
  • to a folder on my SSD which will save it locally but also in an encrypted form. I struggle about the workflow. As far as @asdffdsa said I only need to create a local crypt and download the files of my remote crypt to the local crypt.

I wonder if it is slower if I use

rclone copy -P crypt:file localcryptfolder:


rclone copy -P gdrive:file localcryptfolder:

I would say yes because files are de- and encrypted, right? So what if the local remote has the same password? Does it copy the files faster?

--- would not worry about the time to crypt/decrypt the files,
as the main hard limits are slow internet and slow gdrive

--- the simplest case is to use the same password for both crypts.
tho really does not matter

fwiw, at this point, should have enough info to do some basic testing.

please understand we cannot see into your computer, cannot read your mind.

need to post:
--- redacted config. each time you change it, need to re-post it.
--- run command with -vv and post output. each time you change it, need to post it.

1 Like

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