<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Trello on Amit Agarwal Linux Blog</title>
    <link>/tags/trello/</link>
    <description>Recent content in Trello on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 02 Jan 2017 00:42:53 +0000</lastBuildDate>
    
	<atom:link href="/tags/trello/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Trello – backup to your linux machine</title>
      <link>/2017/01/02/trello-backup-linux-machine/</link>
      <pubDate>Mon, 02 Jan 2017 00:42:53 +0000</pubDate>
      
      <guid>/2017/01/02/trello-backup-linux-machine/</guid>
      <description>&lt;p&gt;Just in case, you are looking for backing up your trello account boards, you can use the following bash script to do so:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class=&#34;brush:shell&#34;&gt;#!/bin/bash -
#===============================================================================
#
#          FILE: backup-trello.sh
#
#         USAGE: ./backup-trello.sh
#
#   DESCRIPTION:
#
#       OPTIONS: ---
#  REQUIREMENTS: ---
#          BUGS: ---
#         NOTES: ---
#        AUTHOR: Amit Agarwal (aka)
#  ORGANIZATION: Mobileum
# Last modified: Thu Dec 22, 2016  01:14PM
#       CREATED: 08/12/2016 09:41:08 AM IST
#      REVISION: $Revision: 1.0 $$
#===============================================================================

# Your backup directory
BDIR=/backup

# Your trello api token and key goes here :)
token=&amp;lt;&amp;gt;
key=&amp;lt;&amp;gt;


# IDs of the boards go here. This is easy to get, just go to your 
# board and check the last part of URL
BOARDS=( a b )


URL=&#34;https://trello.com/b/&#34;
POST=&#39;&amp;actions=all&amp;actions_limit=1000&amp;cards=all&amp;lists=all&amp;members=all&amp;member_fields=all&amp;checklists=all&amp;fields=all&#39;

for i in ${BOARDS[*]}
do
    /usr/bin/curl -H &#39;Accept-Encoding:gzip, deflate, br&#39; -H &#39;Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&#39; &#34;$URL$i.json?&amp;key=$key&amp;token=$token$POST&#34; &amp;gt; &#34;$BDIR/$i.json.gz&#34;
    # gzip -f &#34;$BDIR/$i.json&#34;
done
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
