Cannot copy files from Google Photos mount on OS X (Mojave)

What is the problem you are having with rclone?

On Mac OS X 10.14.6, rclone cmount was failing in trying to mount a large Google Photos album (17000+ files), but worked with a smaller album (32 files). But when trying to copy any of those files, I end up with zero-length files.

What is your rclone version (output from rclone version)

rclone v1.53.3
- os/arch: darwin/amd64
- go version: go1.15.4 

Which OS you are using and how many bits (eg Windows 7, 64 bit)

OS X Mojave (10.14.6)

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

Google Photo

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

rclone cmount goog:album/Framed /Users/dlee/Pictures/gladmount/ --vfs-cache-mode full -vv --cache-dir /Users/dlee/Pictures/gladcache --log-file=/Users/dlee/Pictures/mount.log

and then:

$ cd Pictures/gladmount
Darryls-Air-wireless:gladmount dlee$ cp MVIMG_20201126_175332.jpg ~/Downloads/

The rclone config contents with secrets removed.

type = google photos
read_only = true
token = {"access_token":TOKEN","token_type":"Bearer","refresh_token":"MENTOS","expiry":"2020-11-29T13:16:57.161312-08:00"}
client_id = YOURENOTMINE
client_secret = SEEKRIT

A log from the command with the -vv flag

Since rclone doesn't know the length of photos in advance it shows them to the operating system as 0 length.

Not all tools can copy files like that properly.

It works OK on linux with cp.

You can set the

  --gphotos-read-size              Set to read the size of media items.

But that is

  1. Really slow
  2. Liable to get you banned as it uses so many transactions.

So try copying with cp instead and see if that works OK.

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