As of this writing Google Drive’s native Mac application is not supported on M1 Macs because it is a kernel extension and those don’t run intel code on the M1 architecture.

Manipulating Files in the Finder on Google Drive when Drive is no longer a folder

As I have many Hazel rules that sort files into my Google Drive files, I have been trying to find a way to sync my files from my local folder.

I found that Transmit had support for Google Drive and I could log in to my Google Drive using that App. Then I remembered that Transmit had the feature to turn a cloud service into a local drive, however after further reading I found this no longer worked as they don’t support the Transmit Disk feature anymore.

After migrating from my Intel MacBook Pro to my M1, I tried to do some sleuthing to find where the Google Drive data was stored to see if the files were readable locally.

I found the files stored in:

~/Library/Application Support/Google/DriveFS

Unfortunately, the files were not stored as a human-readable folder structure and instead seemed to be in another database format:

Google Drive storage in the Library folder
Google Drive storage in the Library folder

Syncing from Google Drive to a Local Folder

This seemed to indicate my only option was to use Transmit to sync the Google Drive files back down to my local drive to recreate the local copy of the files. One of the drawbacks of using Transmit Sync is the inability to sync the Google Docs documents like sheets.

Syncing problems down to the Local Folder

After doing the sync down to the local folder did not sync everything. I found quite a few errors of syncing down event XLS files and with the Transmit report, it was hard to figure out why.

/SZP GM/Accounting/Payroll Report/SZ Party Payroll Report - 201807.xls - Could not download “SZ Party Payroll Report - 201807.xls”.
/SZP GM/Accounting/Canceled Platinum Business MasterCard 2017-2019/hsbc-6.pdf - Could not download “hsbc-6.pdf”.

Updating my Hazel Rules

Hazel lets you change the folder with the “Relocate Folder…” option…

Hazel change of folder destination
Hazel change of folder destination

WARNING This change all my rules to use the new folder and then started to move all my pdfs that were stuck in my downloads folder since my migration to my M1 Mac.

Uploading to Google Drive using Transmit

Now that Hazel had copied my PDFs I thought the next step was going to be to upload them to transmit. Just to be careful I used the “Simulate” command in Transmit to make sure that the upload was going to work? I got some confusing results as shown in this screenshot.

Upload sync unexpected results
Upload sync unexpected results

The files that Transmit considered to be changed were not just the PDFs that hazel filed. This si where I got gun shy to complete the upload and have published this blog post to send to Panic to see if they have any advice. Will update it after.

Automating sync

If I can get the
Panic has a video about how to set up a regular sync using automator.

Other Options

I saw a link to the program Insync which claims to be able to replace Google Drive file stream but I have not tried it.

Reference

Pasta from Casa Pasta by Ermanno Lelli in Sheungwan just open and hidden up the stairs until December 31st, 2020 all kinds of pasta are 50HKD due to soft opening.

List of Pastas for 50HKD
Italian sections of pasta with the American Macaroni and Cheese thrown in.

Grab your take away pasta and eat outdoors in the nearby park or cool stairs in this part of Sheungwan.

Gnocchi with cheese and tomato sauce.
Tried the Gnocchi as that is my go to pasta. It had the right amount tomato sauce and cheese.

Grandma’s Macaroni and Cheese
Carbonara is the one they recommended the most.
Desserts imported from Italy also available

Casa Pasta by Ermanno Lelli, HK branch
shop D, ground floor, 2-8 Po Hing Fong, Sheung Wan
6821 0095

Now that I use Sidecar to turn my iPad Pro into a second screen I got a bit tired of going to the display preferences to change where my iPad was physically sitting each time. Since I am hot desking I have to put it on the left or the right and that changes almost daily.

Originally, I thought I would fix this would Keyboard Maestro but it can’t change the display layout and it is too hard to automate it to do the preferences.

I found a stack exchange thread with a link to displayplacer. This is a command line tool that can be installed by homebrew which will do the job of display preferences.

After following the instructions to install the tool you can capture your current screen configuration and then run a command to switch.

I created a Keyboard Maestro macro that monitors when the iPad is plugged in and then prompts me to turn on sidecar and choose the side of the desk where the iPad sits.

The Lung Wah Hotel restaurant, loved by film stars including Bruce Lee and famous for its roast pigeon, is celebrating its 70th anniversary next year, and has big plans for the future.
— Read on www.scmp.com/lifestyle/food-drink/article/3106864/restaurant-loved-bruce-lee-famed-its-roast-pigeon-and-featured

My first job out of college brought me to New York City to setup around 10 G4 cubes as web servers for an Ecommerce company. These beautiful machines fit well on the racks.

20 Macs for 2020 #13: Power Mac G4 Cube (#8) – Relay FM

There may have never been a Mac more aligned with Steve Jobs
— Read on www.relay.fm/20macs/13