{"id":1142,"date":"2020-05-23T18:58:18","date_gmt":"2020-05-23T18:58:18","guid":{"rendered":"https:\/\/kalkus.dev\/?p=1142"},"modified":"2023-08-24T23:32:20","modified_gmt":"2023-08-24T23:32:20","slug":"hey-google-could-you-please-add-a-gitignore-like-option-to-google-drive","status":"publish","type":"post","link":"https:\/\/kalkus.dev\/blog\/2020\/05\/23\/hey-google-could-you-please-add-a-gitignore-like-option-to-google-drive\/","title":{"rendered":"Hey Google, could you please add a .gitignore-like option to Google Drive?"},"content":{"rendered":"\n<h3>Google products are awesome. Gmail, Android, and Google search engine itself. Whoever used Duckduckgo or Baidu knows how awesome Google search engine is\u2026 There\u2019s however one thing which drives me crazy: it\u2019s Google Drive.<\/h3>\n\n\n\n<p>In particular, the sync engine of Google Drive app. It\u2019s far from perfect, but the worst thing is when you, as a developer, accidentally leave some node_modules inside the synced directory. Then the whole thing literally explodes. As all of the devs know node_modules directory is the heaviest object in the universe\u2026<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"990\" height=\"712\" src=\"https:\/\/kalkus.dev\/wp-content\/uploads\/2020\/05\/node-modules-app-performance_.png\" alt=\"\" class=\"wp-image-1144\" srcset=\"https:\/\/kalkus.dev\/blog\/wp-content\/uploads\/2020\/05\/node-modules-app-performance_.png 990w, https:\/\/kalkus.dev\/blog\/wp-content\/uploads\/2020\/05\/node-modules-app-performance_-300x216.png 300w, https:\/\/kalkus.dev\/blog\/wp-content\/uploads\/2020\/05\/node-modules-app-performance_-768x552.png 768w\" sizes=\"(max-width: 990px) 100vw, 990px\" \/><\/figure><\/div>\n\n\n\n<p>When Google Drive tries to sync it we can go and grab a coffee. We can grab it from the plant in South America by swimming in a canoe through the ocean, wait until it grows, pick it, bring it to the USA or Europe or wherever we live, wash the beans, burn them, design our custom coffee machine, make a coffee, and then if we\u2019re lucky we can go back to our computer and see the sync finished.<\/p>\n\n\n\n<p>I tried to find a solution. I found this crazy discussion for example <a href=\"https:\/\/superuser.com\/questions\/820145\/google-drive-with-a-gitignore-like-option\">https:\/\/superuser.com\/questions\/820145\/google-drive-with-a-gitignore-like-option<\/a>. Poor admins build some custom scripts to make symlinks to the directories which they want to exclude from syncing. Or they remove the directories before running the syncing engine.<\/p>\n\n\n\n<p>Therefore I\u2019d like to pray to Google itself. Please, I beg you, oh mighty \u2013 add the exclusion mechanism to the Google Drive sync app so we can exclude the directories, files, anything, just like we can simply do it with .gitignore file. I know you\u2019re busy, I know it might take a long time, but please. It will make the world a bit better place to live. Thanks in advance, Google \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google products are awesome. Gmail, Android, and Google search engine itself. Whoever used Duckduckgo or Baidu knows how awesome Google search engine is\u2026 There\u2019s however one thing which drives me crazy: it\u2019s Google Drive. In particular, the sync engine of Google Drive app. It\u2019s far from perfect, but the worst thing is when you, as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[202,1],"tags":[172,171],"_links":{"self":[{"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/posts\/1142"}],"collection":[{"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/comments?post=1142"}],"version-history":[{"count":1,"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/posts\/1142\/revisions"}],"predecessor-version":[{"id":1145,"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/posts\/1142\/revisions\/1145"}],"wp:attachment":[{"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/media?parent=1142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/categories?post=1142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kalkus.dev\/blog\/wp-json\/wp\/v2\/tags?post=1142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}