Skip to content

Instantly share code, notes, and snippets.

@mislav
Created August 14, 2016 11:13
Show Gist options
  • Select an option

  • Save mislav/1e1576216f0a1cce33dd48bb841bfd20 to your computer and use it in GitHub Desktop.

Select an option

Save mislav/1e1576216f0a1cce33dd48bb841bfd20 to your computer and use it in GitHub Desktop.
Script to keep your Twitter archive up to date
#!/bin/bash
set -e
cd "${0%/*}"
export GEM_HOME="${PWD}/.gem"
export GEM_PATH="$GEM_HOME"
if [ ! -x "${GEM_HOME}/bin/grailbird_updater" ]; then
/usr/bin/gem install grailbird_updater --no-rdoc --no-ri
fi
"${GEM_HOME}/bin/grailbird_updater" .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment