Rclone ls[fd] => google drive => filename with tab character

i use rclone command for list gdrive files:
rclone ls murych:/

If the filename on drive contains the TAB character,
then I see that this character is replaced by another one => ␉.

How can I disable this behavior? I want rclone to not convert this character.

I tried the following with no result:
--drive-encoding None
--local-encoding None

rclone --version
rclone v1.62.2
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-144-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none

That's the display format of the file. If you copy it it should arrive with a tab in providing the file system that you are copying to can take it.

I use different Linux distributions. And everywhere the same behavior.
When copied, this character remains as it is. That is the symbol ␉. Not the tab character - 0x09
It doesn't change whether I mount and view the results in a text console or in kconsole.
At the same time, if I use, for example, ocamlGdrive (another library), everything is displayed as expected. That is, the tab character is exactly that character without replacement.

That is, it is connected precisely with the behavior of rclone. Not the behavior of the system.

Here is a demo of what I mean

Create a file with a tab

$ touch tab$'\t'file.txt
$ ls -l
total 0
-rw-rw-r-- 1 ncw ncw 0 Apr 10 17:32 'tab'$'\t''file.txt'

See how rclone views it

$ rclone lsf .

Now copy the file

$ rclone -v copy tab tab-copy
2023/04/10 17:33:42 INFO  : tab␉file.txt: Copied (new)
2023/04/10 17:33:42 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         0.0s

And look, it has arrived on disk with a tab

$ ls -l tab-copy/
total 0
-rw-rw-r-- 1 ncw ncw 0 Apr 10 17:32 'tab'$'\t''file.txt'

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