It'd have to be OS X, since GDrive still doesn't have a Linux client. Unless you're using the GDrive FUSE fs, but I'm not sure how useable that is right now.
Windows and Cygwin/bash
However, it only works for those google drive files and folders you are syncing on the local machine. If there are folders you aren't syncing, this command line method will fail.