Problem Coping files with special char in filenames ñ á é í ó ú

HI, I have error coping files with filenames containing the chars "ñ á é í ó ú" .

rclone v1.63.1

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-82-generic (aarch64)
  • os/type: linux
  • os/arch: arm64 (ARMv8 compatible)
  • go/version: go1.20.6
  • go/linking: static
  • go/tags: none

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

I'm using google drive. From google drive to my local linux.

rclone sync --drive-chunk-size=128M --transfers=16 --progress drive:/backups/Stadium/storage3 /mnt/storage-box-stadium/Stadium/storage3/

[drive]
type = drive
client_id = XXXXX.apps.googleusercontent.com
client_secret = XXXXX
scope = drive
token = {"access_token":XXXXXXXg","expiry":"2023-08-31T23:36:15.384901311-03:00"}
root_folder_id = XXXXXXXXXX

The error is:

2023-08-31 23:17:20 ERROR : 2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016/envo/01/._Captura de pantalla 2016-01-19 a las 12.11.17.png: Failed to copy: mkdir /mnt/storage-box-stadium/Stadium/storage3/2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016: no such file or directory
2023-08-31 23:17:20 ERROR : 2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016/envo/01/Captura de pantalla 2016-01-19 a las 12.10.23.png: Failed to copy: mkdir /mnt/storage-box-stadium/Stadium/storage3/2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016: no such file or directory
2023-08-31 23:17:20 ERROR : 2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016/envo/01/Captura de pantalla 2016-01-19 a las 12.11.17.png: Failed to copy: mkdir /mnt/storage-box-stadium/Stadium/storage3/2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016: no such file or directory
2023-08-31 23:17:20 ERROR : 2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016/envo/01/Captura de pantalla 2016-01-19 a las 12.11.00.png: Failed to copy: mkdir /mnt/storage-box-stadium/Stadium/storage3/2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016: no such file or directory

I check the destination support the special chars:

root@stadium-linux-arm64:/mnt/storage-box-stadium# mkdir hóláñlsas
root@stadium-linux-arm64:/mnt/storage-box-stadium# ls
hóláñlsas Stadium text.txt

what is mounted here?

/mnt/storage-box-stadium

Is it external disk? What filesystem it is using?

I do not think there is any issue with rclone but you destination has some limits.

you can also try to copy only one problematic file and post debug output here:

rclone copy "drive:/backups/Stadium/storage3/2017/OIL/2017/OIL MATERIAL EX AGENCIA/2017/Aviso Salutacin Dakar 2016/envo/01/Captura de pantalla 2016-01-19 a las 12.11.00.png" "/mnt/storage-box-stadium/Stadium/storage3/" -vv

I've had some issues also with rclone complaining about it having to rename files, which makes little sense to me as the reote was a crypt remote (can't imagine why there would by any limitations there) and the local was ext4 (same, is ext4 have unicode characters it can't use?)

In my case, it was an issue with copying from the remote back to me. It was a whle ago, and wasn't particularly important files so I didn't investigate it, but I remembered thinking that was weird at the time.

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