Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to exclude certain types of files in a folder in Google Drive? E.g. say I wanted to upload everything, except all .txt files; like *.txt in a .gitignore file. Is there any way to do this?

share|improve this question
Related: webapps.stackexchange.com/questions/35474/… – Al E. Feb 2 '13 at 22:38

A not so pretty but viable solution would be to use a script (robocopy would suit the job) to copy only the files you would like to upload into a secondary folder and set Google Drive to sync that folder. You could automate the script so it updated the secondary folder on a schedule.

robocopy %OriginalFolder% %GoogleDriveSyncedFolder% /E /Z /TEE /xf *.%FileExtentionToExclude%

Source: https://technet.microsoft.com/en-us/library/cc733145.aspx              https://social.technet.microsoft.com/Forums/office/en-US/919ab53c-8a86-439b-bc41-649fce8b9ba1/robocopy-exclude-file-types?forum=w7itprogeneral

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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