How to decrypt encrypted files when downloading?

What is the problem you are having with rclone?

I want to download my files from the cloud to my home server and decrypt them in the process.

Currently all my files are in the cloud, I uploaded them with "crpyt" and read the files with rclone mount "on the fly". After changes to the cloud, I want to get my files from there and store them unencrypted on my own drive (which is itself encrypted).

(encrypted files in the cloud >>> decrypted files on the hard drive at home).

I searched the "crypt" page, but I didn't understand the decryption part.
Since I don't want to mess this up, I hope you can tell me what command to use for this.

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

rclone v1.61.1

  • os/version: slackware 15.0+ (64 bit)
  • os/kernel: 5.19.17-Unraid (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using?

Google Drive

For moving my files TO the Google Drive, I was using the following command

rclone -P moveto --bwlimit "00:30,off 05:30,1500K" --ignore-existing /mnt/user/dl/downloads/media/ gcrypt2:/media/ --config=/mnt/user/rclone/rclone.conf


when rclone uploads a file to a crypt remote, rclone encrypts the file during upload.
when rclone downloads a file from a crypt, rclone decrypts the file during download.

basically use what was dest as the source and local dir as dest.
something like
rclone move gcrypt2:media ~/media -vv --dry-run

1 Like

So it is that simple though ... I feel a bit silly :joy:

1 Like

Also as a side note, the crypt side can be mounted at the same time as the non crypt side (for example if you have both types of content)

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