Snippets

Iain Dooley Download files to Google Drive

Created by Iain Dooley

File snippet.txt Added

  • Ignore whitespace
  • Hide word diff
+function downloadFilesToGoogleDrive()
+{
+    new Trellinator().board("My Board").cards().each(function(card)
+    {
+        card.attachments().each(function(att)
+        {
+            var file = Trellinator.downloadFileToGoogleDrive(att.link());
+            card.attachLink(file.getUrl();
+            att.remove();
+        });
+    });
+}
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.