Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting GoogleDoc files only, ignore any other files #1126

Open
rh-jelabarre opened this issue Oct 13, 2021 · 1 comment
Open

Exporting GoogleDoc files only, ignore any other files #1126

rh-jelabarre opened this issue Oct 13, 2021 · 1 comment

Comments

@rh-jelabarre
Copy link

I would like a way to have Drive only run the export of GoogleDoc (and GoogleSheet) files to ODF files, but not copy down any other files in my Google Drive. Essentially I just want to have local backups of Google Docs usable within LibreOffice, and the remainder of the files I already have local copies of.

I tried creating a ~/.driveignore file with a single entry of "*", but it didn't work. A cleared-out google-drive-sync directory re-downloaded all the non GDoc files, and re-created all the .desktop entries.

@ikwyl6
Copy link

ikwyl6 commented Oct 13, 2021

There are examples in the README file. You’ll need to do pattern matching to match the file type and export only the file type you want to export. It’s possible but I think you need to read through the readme file. It’s been a while that I used drive but this is possible for what you need I believe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants