Skip to content

Instantly share code, notes, and snippets.

@ilyaevseev
Created December 14, 2013 20:20
Show Gist options
  • Save ilyaevseev/7964405 to your computer and use it in GitHub Desktop.
Save ilyaevseev/7964405 to your computer and use it in GitHub Desktop.
Batch mode for google-drive-fs
--- gFile.py.orig 2011-10-16 08:36:48.000000000 +0400
+++ gFile.py 2013-12-15 00:17:59.052546863 +0400
@@ -539,7 +539,7 @@
usage = """Google Docs FS: Mounts Google Docs files on a local
filesystem gFile.py email password mountpoint""" + fuse.Fuse.fusage
- passwd = None
+ passwd = os.getenv('GOOGLE_DRIVE_PASSWORD', False)
while not passwd:
passwd = getpass.getpass()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment