I have rclone setup with GDRIVE and a crypt on top. All is fine. I am transitioning from GDRIVE to pcloud. Rclone and pcloud (including a crypt) is working like a charm. Of course I can use rclone copy or sync etc. to migrate from GDRIVE to RCLONE. However I discovered that pcloud has a brilliant feature of backing up a GDRIVE account (which due to the higher bandwidth is incredibly much faster).
So I told pcloud to backup up GDRIVE and the files (crypted) show up in a backup folder in pcloud. I can move them to another pcloud folder and have rclone config point to that with the same crypt password/password2 settings I used for GDRIVE.
rclone lsd works and shows the directories. However the files themselves to not show and -vvvv shows:
Skipping undecryptable file name: illegal base32 data at input byte 26
Turns out the backup procedure of pcloud adds a "." to the end of the filename. So
8ud1t8gcqddig9AA49k9kp2br4
becomes
8ud1t8gcqddig9AA49k9kp2br4.
If I manually change the filename and delete the "." at the end the file is found and decrypted. Do you guys have any idea on how to fix this? Is there some magic option to ignore trailing "."? Or do I have to mount the drive and with some clever find/mv script have to rename all files?
DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "moveto" "pcrypt:source/file.ext." "pcrypt:dest/file.ext" "-vv"]
DEBUG : Creating backend with remote "pcrypt:source/file.ext."
DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
DEBUG : Creating backend with remote "pcloud:pcrypt/l8v6tiq52jaekot7q45c9rbq4o/3j2f0almjigh67uipi9bohvp7c"
DEBUG : fs cache: adding new entry for parent of "pcloud:pcrypt/l8v6tiq52jaekot7q45c9rbq4o/3j2f0almjigh67uipi9bohvp7c", "pcloud:pcrypt/l8v6tiq52jaekot7q45c9rbq4o"
DEBUG : Creating backend with remote "pcrypt:dest/"
DEBUG : Creating backend with remote "pcloud:pcrypt/p0tru1aognkok78nfntsibbo9o"
DEBUG : file.ext.: Need to transfer - File not found at Destination
INFO : file.ext.: Moved (server-side) to: file.ext
INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 1 / 1, 100%
Renamed: 1
Elapsed time: 5.0s
rclone ls pcrypt:dest
0 file.ext