# Unencrypt ALL files in gdrive

**URL:** <https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087>\
**Category:** Help and Support\
**Created:** [September 28, 2019, 10:16pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087 "2019-09-28T22:16:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 10:16pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/1 "2019-09-28T22:16:12Z")

</div>

So I have a major problem. I am trying to set up MergerFS and to do this I can't have encryption on my files. All of my files download from my seedbox and are then uploaded to my gdrive but are encrypted. I have all of the keys, so that isn't a problem but I would like to unencrypt all of these files without downloading them back to a local machine. Is there any way to do this?

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 10:39pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/2 "2019-09-28T22:39:46Z")

</div>

Encryption is a rclone thing so the only way to unencrypt something is to run it through rclone.

Do you just want to do away with the encryption?

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 10:40pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/3 "2019-09-28T22:40:18Z")

</div>

Yes. I would just like to decrypt all of the files already encrypted in gdrive without downloading them.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 10:42pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/4 "2019-09-28T22:42:38Z")

</div>

If the goal is that, you have to download / upload them again as there is not any other way around it.

So in my example I have a an an encrypted remote called gcrypt: and my base Google Drive is GD:

So I could do something like:

```auto
rclone move gcrypt: GD:decrypted

```

and that would move all the encrypted files to a folder called "decrypted" in my Google Drive. You are still bound by the 750GB daily upload limit as well so you can use bwlimit and just let it run depending on the size of your data.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 10:44pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/5 "2019-09-28T22:44:50Z")

</div>

So can you explain how I would do this? My directories are as follows.

~/media/  
~/media/gdrive - Remote directory where files are transferred to  
~/media/gdrive/Movies  
~/media/gdrive/TV  
~/media/torrents - Local directory where files are downloaded to

I have around 17.5TB and don't have space on the server to download all of these files.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 10:46pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/6 "2019-09-28T22:46:38Z")

</div>

Sorry as I was not clear. It doesn't download anything on my command above, it does it all in memory and transfers based on your internet bandwidth so no local storage is needed.

You'd want to do it based your rclone.conf that is setup rather than anything on the direct mounts themselves. What's your rclone.conf without the keys/passwords?

17.5 TB would take 750GB per day so like 23 days.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 10:47pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/7 "2019-09-28T22:47:22Z")

</div>

The internet bandwidth on my seedbox is 10gbps

My rclone config has a gdrive, gcrypt, and gcache. How would I do what you are stating?

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 10:47pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/8 "2019-09-28T22:47:49Z")

</div>

Right but the constraint would be the 750GB daily upload limit.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 10:48pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/9 "2019-09-28T22:48:17Z")

</div>

I can send the actual configs if needed.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 10:49pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/10 "2019-09-28T22:49:00Z")

</div>

If you aren't sure how to adapt my command to your setup, you'd have to post your rclone.conf without any keys or passwords in it and I can help out.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 10:50pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/11 "2019-09-28T22:50:07Z")

</div>

[gdrive]  
type = drive  
client\_id = xxx  
client\_secret = xxx  
scope = drive  
use\_trash = false  
chunk\_size = 16M  
token = xxx

[gcache]  
type = cache  
remote = gdrive:/gdrive  
plex\_url = xxx  
plex\_username = xxx  
plex\_password = xxx  
chunk\_size = 16M  
info\_age = 2d  
chunk\_total\_size = 20G  
db\_purge = true  
plex\_token = xxx

[gcrypt]  
type = crypt  
remote = gcache:/crypt  
password = xxx  
password2 = xxx

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 10:53pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/12 "2019-09-28T22:53:39Z")

</div>

Unfortunately, you have a cache setup so you'd have to make a new encrypted remote.

So make another encrypted remote with the same password:

```auto
[gcrypt-new]
type = crypt
remote = gdrive:/gdrive/crypt
password = xxx
password2 = xxx

```

So on that name, you'd do:

```auto
rclone move gcrypt-new: gdrive:somefolder --bwlimit 8650k

```

That moves the data so if that is what you want to do, it'll take ~23 days. If you want to copy, just replace move with the word copy instead.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 10:54pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/13 "2019-09-28T22:54:40Z")

</div>

Will this make the files not show up encrypted?

I am trying to make them show up in gdrive without encryption.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 10:56pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/14 "2019-09-28T22:56:43Z")

</div>

Would I need to set encryption to off with .bin extension only?

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 10:59pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/15 "2019-09-28T22:59:04Z")

</div>

The command would move the files from the encrypted folder on your Google Drive to a decrypted folder.

If you want them decrypted, that's how to do it. If you exclude something, it would still be encrypted and you'd need to use rclone to decrypt it.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 11:00pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/16 "2019-09-28T23:00:06Z")

</div>

So use all of the same encryption options as the original? I had standard encryption on the original for the regular and salt passwords.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 11:00pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/17 "2019-09-28T23:00:40Z")

</div>

Yes, everything must be exactly the same.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 11:03pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/18 "2019-09-28T23:03:21Z")

</div>

[gcrypt-new]  
type = crypt  
remote = gdrive:/gdrive/crypt  
password = xxx  
password2 = xxx

This is the new crypt. So just create a new folder in gdrive? Inside or outside the foler gdrive? Also, on the old crypt the remote was gcache:/crypt.

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 28, 2019, 11:05pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/19 "2019-09-28T23:05:31Z")

</div>

The command will create the folder:

```auto
rclone move gcrypt-new: gdrive:somefolder --bwlimit 8650k

```

Just make if you want to move them use move. If just want to copy, replace move with copy.

Replace the somefolder with the folder you want to use and rclone will create it.

---

<div class="post-metadata">

**Author:** ![techbyte](https://forum.rclone.org/user_avatar/forum.rclone.org/techbyte/32/3492_2.png) [@techbyte](https://forum.rclone.org/u/techbyte)\
**Post date:** [September 28, 2019, 11:06pm UTC](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087/20 "2019-09-28T23:06:34Z")

</div>

Okay. Can I do the command on daemon instead of local? I am ssh'd into my seedbox and my internet's not working right and keeps going out.

[Next page](https://forum.rclone.org/t/unencrypt-all-files-in-gdrive/12087.md?page=2)
