[Automator] Google Drive Stream broke my Automator Script :(

Joined
May 11, 2018
Messages
2
Reaction score
0
I have had an automation action setup for a while now that watches a folder on Google Drive (synced to my HD) and when it sees a new folder created within the watched folder the action copies a whole folder structure & files into that new folder and then renames the folder. This was working great for until Google discontinued the old google drive drive syncing in favor of Google Drive Stream.

I think my action stopped working because Google Drive Stream acts like a networked drive. There is an option that allows a user to keep a copy of selected folder locally stored on an HD so I applied that on the folders needed for my action, but that didn't seem to solve the issue.

I get the following error when I try to run the action "The action “Copy Finder Items” encountered an error: “*** -[NSFileManager createDirectoryAtURL:withIntermediateDirectories:attributes:error:]: URL is nil”"

Any thoughts on how I can solve this error? I have no clue what it means

Check the attached screenshot to see my current action.
 

Attachments

  • Screen Shot 2018-05-10 at 10.52.53 AM.jpg
    Screen Shot 2018-05-10 at 10.52.53 AM.jpg
    128.5 KB · Views: 1,099
Hello and welcome.

You are correct, the new Google Drive File Stream acts more like a network/cloud drive, and all documents are located in the Google Drive cloud, instead of as a local copy like in the Google Drive app previously. You can make them available for offline use, by right-clicking/Control-clicking on the file in Google Drive File Stream, and selecting Google Drive File Stream > Available offline from the pop-up. The status icon will then change from a blue outlined cloud to a green circle with a white checkmark in it.

As for the Automator action, I don't have much experience with it or AppleScript, so I can't help much there. Maybe by making the file available offline, you can slightly modify the action and the issue will resolve.

Let us know how it goes,

C
 
Thanks Cory, As I mentioned in my post, I did make the files available offline but it did not resolve the issue. If anyone else has other thoughts I'd love to hear them. Thanks!
 
No worries. Oops, I see that you mentioned that now. Guess I read and replied too quickly.

Maybe someone else will chime in. You could always ask over at MacScripter to see if anyone there may have a suggestion/solution.

C
 
Erik, did you ever get this solved? I have the same problem and am scowering the interwebs in search of a solution.
 
Back
Top