Purpose: How Windows users can access Google Drive files from within WSL.
Google Drive for Desktop syncs files to your Windows filesystem (e.g., C:\Users\YourName\Google Drive\), not to your WSL/Linux filesystem.
When you’re working in WSL, you can’t use Windows-style paths directly.
WSL provides access to Windows drives through /mnt/:
C:\ becomes /mnt/c/D:\ becomes /mnt/d/| Windows path | WSL path |
|---|---|
C:\Users\Alice\Google Drive\file.bib |
/mnt/c/Users/Alice/Google Drive/file.bib |
C:\Users\Bob\My Documents\paper.pdf |
/mnt/c/Users/Bob/My Documents/paper.pdf |
Steps:
C:\ with /mnt/c/\ with /C:\Users\YourName\Google Drive\My Library.bib# In WSL terminal, navigate to your ballpark paper
cd ~/GitHub/econ-ark/ballpark/models/We_Would_Like_In_Econ-ARK/YourPaper/
# Copy the file (note the quotes due to spaces)
cp "/mnt/c/Users/YourName/Google Drive/My Library.bib" ./references.bib
“No such file or directory”:
File has a cloud icon in Windows: