Sub-folders not copied/synced from GCS to local

Trying to copy a tree of folders from Google Cloud Storage into local Ubuntu machine.

Whether I use ‘rclone sync’ or ‘rclone copy’, only the top-level files are copied. The sub-folders are created locally as empty files (not as directories), and when trying to copy the files in them, I get error messages: “Failed to copy: foo/bar: not a directory”

These were probably uploaded with a tool which creates 0 length files to mark the directories…

Use --min-size 1b to work-around

Thanks. It was originally uploaded with Google Cloud Storage web-based UI.

Not sure I understand why it’s now working this way, but it is, so thanks!

I’ve made a note to fix this properly at some point!