Mount is very slow when copying lots of small files. Are there any tips and tricks for handling lots of smaller files? If I compress a directory and copy into the mount it is extremely fast. But copying a code repo, for example, takes a really long time. I know there are restrictions on Google API requests and perhaps that is the bottleneck? Is there any way to tell the mount perhaps to compress directories on the fly?
What is your rclone version (output from rclone version)
rclone v1.52.2-212-g80d2f381-beta
- os/arch: darwin/amd64
- go version: go1.14.4
Which OS you are using and how many bits (eg Windows 7, 64 bit)
MacOS 10.15.4 64bit
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)
rclone mount encrypted:/ ~/rclone --buffer-size 256M -vv
The rclone config contents with secrets removed.
[encrypted]
type = crypt
remote = unlimited:encrypted/share/
filename_encryption = standard
directory_name_encryption = true
password =
[unlimited]
type = drive
scope = drive
service_account_file =
team_drive =
chunk_size = 128M
Yeah. Is there perhaps a way to archive using maybe tar if the content added to the mount is a directory? Similar to how we can encrypt files on the fly?
Oh clever! I had a look through the codebase but Goland crashed when opening. I guess it would work by uploading tard chunks. It would only be one directional as well I guess (i.e write only) and then you may as well just use copy/sync.