Snippets

Iain Dooley Download files to Google Drive

Created by Iain Dooley
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();
        });
    });
}

Comments (0)

HTTPS SSH

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