Rename crypt file

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

hello, there was a problem, the files were stored on the dropbox in encrypted form, when transferred to the google drive, I shortened the name, because it was too long, but because of this now I can’t decrypt them, does the clone use the name to decrypt the file? or am i wrong somewhere

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

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

Google Drive

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

Paste command here

The rclone config contents with secrets removed.

Paste config here

[osnova12]
type = crypt
remote = crypt12:
password = ***
password2 = ***

[crypt12]
type = drive
scope = drive
root_folder_id = ***
client_id = ***
client_secret = ***
token =***

A log from the command with the -vv flag

Paste  log here

hello, there was a problem, the files were stored on the dropbox in encrypted form, when transferred to the ggul disk, I shortened the name, because it was too long, but because of this now I can’t decrypt them, does the clone use the name to decrypt the file? or am i wrong somewhere

  1. In crypt12: remote add .bin to the filename

  2. Temporarily add
    filename_encryption = off

to your osnova12 config

Now you can download the file. Its content will be decrypted.

With file names encryption on example test.txt file is encrypted and stored as let's say 8k3am05ki43ju5avbrahe3o4ck

You corrupted 8k3am05ki43ju5avbrahe3o4ck name to 8k3am05ki. rclone can not decrypt filename anymore.

You rename 8k3am05ki to 8k3am05ki.bin and disable file name encryption.

Now you can download decrypted 8k3am05ki. Its content is the same as test.txt.

thanks this really helped, only now you need to add an extension to the decrypted files, but it's better than not having access to them. thanks for the advice

Yes - file name has to be fixed by hand. Hopefully you do not have hundreds of files to fix.

only 150,000 files) but it's better than losing them)

For the future - with Google Drive which is case sensitive you could also use base64 encoding for encrypted names. It would give you more space.

Check: