5

Is it possible to have command-line access to Google Drive from the crosh shell? Conceivably, something like:

cd ~/'Google Drive'

In my current environment Developer is enabled so I've got root access to ChromeOS.

The Files App is a useful GUI, but I'm looking for command line access to the same file systems. Something I can run scripts from, cd, ls, etc.

If not native to ChromeOS, then is there a mounting utility that could be used in ChromeOS for command-line access? I realize there are several options such as google-drive-ocamlfuse, prasmussen/gdrive, skicka, etc.

1

To access g-drive from from crosh terminal (you'll have to look in fuse first to get the drive id)

cd /media/fuse/drivefs-SOMEDRIVEID/root

If you use the Linux integration (crostini) you can also access this from the crosh shell via:

cd /media/fuse/crostini_SOMEDRIVEID
  • cd /media ERROR: unknown command: cd – jeffmcneill Jan 17 at 7:41
  • How does one "look in fuse first"? – jeffmcneill Jan 18 at 4:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.